From: MenTaLguY Date: 2005-11-04T10:14:01+09:00 Subject: [ANN] lazy.rb --=-kNANzcWuDUq7R1tLazWl Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've got an 0.0 release of lazy.rb, an implementation of lazy evaluation for Ruby, up here: http://moonbase.rydia.net/software/lazy/ It provides two functions: promise (like R5 Scheme's delay) and force (just as in Scheme). promise takes a block to evaluate later; as an aid to circular programming, the block's result is passed to it as a parameter. force is used to force the value of a promised computation. Some attempts have been made to support implicit forcing through the use of SimpleDelegator, but with only mixed success so far. -mental --=-kNANzcWuDUq7R1tLazWl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDarXpcUNIGiXCc4MRAiHLAJsGAh+cVLpJTg086/L7zltNCHt5SACeJY7r X8jUZK0M3aOeUYe9tBe2Jp0= =6IYm -----END PGP SIGNATURE----- --=-kNANzcWuDUq7R1tLazWl--