[Haskell-cafe] Question: Do block precedence

Jonne Ransijn yoyoyonny at gmail.com
Mon Feb 29 00:27:54 UTC 2016


I would imagine

> (flip when) do <N> putStrLn "Where do the parentheses go?" <N> True

should be parsed as

> (flip when) (do { putStrLn "Where do the parentheses go?"; True; })
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20160229/69c76d7a/attachment-0001.html>


More information about the Haskell-Cafe mailing list