On Tue Jun 30 01:56:39 2009, allb...@ece.cmu.edu wrote:
> I thought unary + was scalar/item? context in perl6, not numify.

When in doubt, check the spec. :)

S03 (]):
] Unlike in Perl 5, where + is a no-op, this operator coerces to
] numeric context in Perl 6.

So prefix:<~> stringifies, prefix:<+> numifies, and prefix<?> boolifies.
There's some kind of nice symmetry to that, isn't there?

Reply via email to