Well sure. I was assuming it was a simplified example...
Andrew Wagner wrote:
> Try this: let b = if a == True then "+" else "-" in ...
The little figurine of Dijkstra in my head is urging me to write this as
let b = if a then "+" else "-" in ...
instead. ;)
Regards,
apfelmus
--
http://apfelmus.nfshost.com
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners