
26 Jun
2009
26 Jun
'09
8:50 a.m.
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