| Seeing as its thst time of year again and everyone is posting their
| homework, has anyone got any good puzzles to do?
| I wouldn't mind having a go at something a bit tricky.

Here is another one: figure out what `unknown' is.

> unknown                       =  mysterious unknown

> mysterious ks                 =  0 : weird ks
> weird (k : ks)                =  (k + 1) : mysterious ks

Cheers, Ralf

_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to