To the original poster: next time, just leave the function definition without the signature and query GHCi for the correct type:
Remember that the type checker is your friend; let it work for you :)

Mark
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to