-- GxlDDzOtwqxtwyqR2// Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2005-12-18 at 00:41 +0900, Christian Neukirchen wrote: > mental / rydia.net writes: > > > I've been pondering how to write an "unfold" in Ruby lately, and > > I've not really found any non-awkward ways to do it yet. > > C'mon, let's do complete hylomorphisms. :-) Hey, this is pretty good. It might be worth into turning into a gem. Only thing is I don't know about to_a ... there's no real reason the result has to be an array versus some other type (I've got lazy streams in mind, at least). -mental -- GxlDDzOtwqxtwyqR2// 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) iD8DBQBDpGfdcUNIGiXCc4MRAu67AJ9w2WiEji9AUnai4oLzBHUHW8KfSwCgiiL7 8HN9iXB1guyWc8HH9LC42N0»Ęz -----END PGP SIGNATURE----- -- GxlDDzOtwqxtwyqR2//--