[Haskell-cafe] What does "1 = 2" mean in Haskell?

Alexey Muranov alexey.muranov at gmail.com
Sat Feb 25 14:32:45 UTC 2017


Just to link this to a previous discussion of this topic:

  https://groups.google.com/d/msg/haskell-cafe/2zpIvI0IBSc/MuHmTEUiswUJ

Alexey.

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
>
> 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?
>
>
> -harendra
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170225/0af35b51/attachment.html>


More information about the Haskell-Cafe mailing list