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
|