On Fri, Feb 04, 2005 at 12:19:36AM +0800, Autrijus Tang wrote: > Uh, as this is an ask-for-clarification for a Synopsis, I think p6l > is the correct forum. Of course, as I'm new to this list, I may be > totally wrong, in which case please tell me so. :-)
To be more precise, according to S06: "A value type is given as a prefix or with the 'returns' or 'of' keywords." "The implementation type is given as a trait for the variable via 'is'." It seems clear to me that the distinction is visible in a language level; as I'm implementing the parser, this is crucial information to me, and I suspect perl6-internals won't be of much help here... Another interpretation is that there is only one default I-Type, namely Scalar, and Array and Hash are merely V-Types types. In that case, I'd like to inquire whether Lists and Arrays are always intercastable. Thanks, /Autrijus/ (PS: Mark, your server is blocking my email server at 168.95.4.166, so I'm replying your mail on-list. I'm sorry for the spamming. :-/)
pgpbgutkshtWE.pgp
Description: PGP signature