Array literal syntax

Brian Rice water at tunes.org
Mon Dec 19 10:04:24 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

`evaluate. But that's ugly. #[{1 2 3 4} as: ByteArray] is better than  
even that. I'm going to consider this closed, and the whole idea  
unnecessary.

On Dec 19, 2005, at 3:06 AM, Tony Garnock-Jones wrote:

> Brian Rice wrote:
>> It occurred to me that ByteArray literals might be useful. Any  
>> comments
>> or suggestions on that?
>
> If there's a general eval-at-compiletime operation, we can say
>
>   ['dGhlc2UgYXJlIHNvbWUgYnl0ZXM=' fromBase64] `doAtCompileTime

- --
- -Brian
http://tunes.org/~water/brice.vcf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDpvYoPVkAvLW1zf4RAsUfAJ9Rrl8jFbAgpaE7wgoX6Oj7+z6e8gCfYCRL
KsesB2CNDvzGkvkv1u62p5Y=
=ZRFn
-----END PGP SIGNATURE-----




More information about the Slate mailing list