On Mon, 1 Nov 2004, Ben Rudiak-Gould wrote: > Paul Hudak wrote: > > > Oh, I disagree with this point of view. Circle is certainly a value, > > i.e. a full-fledged function, as Brian Beckman correctly surmised. > > Interesting. I don't claim that my viewpoint is the One True Path, but I > don't think it's wrong, either. I know you're interested in the teaching > of Haskell, and the fact remains that I *was* confused by data > constructors when I learned Haskell, and it *did* help me to stop > thinking of them as functions.
When I saw 'data' the first time, it looked for me similar to C's unions, i.e. a data structure. Sometime later I got the point that constructors are also functions. :-) _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe
