[Haskell-cafe] FW: please help... small problem

Yitzchak Gale gale at sefer.org
Sat Nov 10 15:53:40 EST 2007


Hi Ryan,

You wrote:
>  I've attempted to cut down this module... but I cannot see where... can
> someone help...

You don't need "wordToInt" - just use "read" instead.

Look at the type of the function "map" in the Prelude -
you can use it to get rid of "method" and "test".
After that, your program will be very short.
Try it!

Good luck,
Yitz


More information about the Haskell-Cafe mailing list