Well sure. I was assuming it was a simplified example...

On Fri, Jun 26, 2009 at 7:30 AM, Heinrich Apfelmus <apfelmus@quantentunnel.de> wrote:
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