Lambda the Ultimate

inactiveTopic Moiell (aka Leoll++)
started 5/13/2004; 3:41:39 AM - last post 5/13/2004; 3:41:39 AM
Ehud Lamm - Moiell (aka Leoll++)  blueArrow
5/13/2004; 3:41:39 AM (reads: 8045, responses: 0)
Moiell (aka Leoll++)
Sjoerd managed to get his favorite toy language to understand this code:

sieve: [|p::ns| >p, sieve( ns[me mod p != 0] ) ]

There's nothing better than some lazy functional programming to brighten up your morning...


Posted to functional by Ehud Lamm on 5/13/04; 3:42:02 AM