From: MenTaLguY Date: 2007-06-07T13:34:20+09:00 Subject: Re: [SOLUTION][QUIZ] FizzBuzz (#126) [solution #2] --=-fQeRyKvHwV87qm/WDkXj Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2007-06-07 at 02:25 +0900, Brad Phelan wrote: > Perhapps you are doing it but I was unable to parse the > whole algorithm out and figure out exactly what all the lambdas > you use do. If it helps, what a lot of the math stuff does is create lists of the length specified by a number, manipulate those, and then count their lengths to get back to a number. For instance, subtraction would be: SUBTRACT =3D LAMBDA2 { |m,n| LENGTH[DROP[n][MAKE_LIST[ID][m]]] } (here, ID is just used as a dummy value to populate the list with) -mental --=-fQeRyKvHwV87qm/WDkXj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBGZ4rLSuZBmZzm14ERApC/AJ4v49mNvUhEl2sD/1NOFE1m5a1qVACgue23 XJyADigFwFzb6a1CNXN5Vi0= =+8jj -----END PGP SIGNATURE----- --=-fQeRyKvHwV87qm/WDkXj--