[Haskell-cafe] What does "1 = 2" mean in Haskell?
alexey.muranov at gmail.com
Sat Feb 25 14:32:45 UTC 2017
Just to link this to a previous discussion of this topic:
On Friday, February 24, 2017 at 3:06:16 AM UTC+1, Harendra Kumar wrote:
> Kids have this amazing ability to break any toy in minutes. I gave my
> seven year old daughter ghci to play with and in a little while she said it
> is broken:
> >> let 1 = 2
> >> 1
> Earlier, I had explained to her about symbols and assigning values to
> symbols, and I said numbers are not symbols. But when she came up with this
> I could not explain what's going on. How can "1 = 2" be a valid equation?
> Am I missing something fundamental here, or it is just broken?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe