[Haskell-beginners] 1=2

amindfv at mailbox.org amindfv at mailbox.org
Tue Dec 15 01:05:05 UTC 2020


It's the same in do-blocks:

main :: IO ()
main = do
   let 3 = 2 + 2
   putStrLn "Oh fiddlesticks"

On Mon, Dec 14, 2020 at 12:14:53PM -0500, M Douglas McIlroy wrote:
> ghc and ghci 8.6.5 accept 1=2 at top level. It seems to have no effect.
> What does it mean?
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners


More information about the Beginners mailing list