Darren Duncan (>):
> Regarding Blob, that's not a collection type and its a fundamental type and
> it still needs special syntax; I did suggest one in my previous message.

Frankly, I don't see why it should need special syntax. Blobs are,
most of the time, not typed in through the keyboard (too much/too
error-prone). They might be a "fundamental" type (whatever that means
in Perl 6), but they have this feel of low-level, internal,
close-to-the-metal bitwise stuff that the user would rather not have
to handle directly, but abstract away in some library.

In the rare cases in code where a blob is directly assigned to a
variable from a literal value, that code might be auto-generated by
some script that doesn't get confused by a deluge of digits. For this,
a list of integer values and a cast or a conversion function (maybe
&pack) will do as syntax, in my opinion.

// Carl

Reply via email to