[Haskell-cafe] Language complexity & beginners (Was: New type of ($) operator in GHC 8.0 is problematic)

Mihai Maruseac mihai.maruseac at gmail.com
Mon Feb 8 18:16:58 UTC 2016


On Mon, Feb 8, 2016 at 1:01 PM, Imants Cekusins <imantc at gmail.com> wrote:
> would it be a bad taste to overload ;?

Won't it create ambiguity problems like the following?

ghci> do { putStr "Hello, the answer is "; print $ 40 + 2 }

being changed into the invalid

ghci> do { putStr "Hello, the answer is "; print ; 40 + 2 }

-- 
Mihai Maruseac (MM)
"If you can't solve a problem, then there's an easier problem you can
solve: find it." -- George Polya


More information about the Haskell-Cafe mailing list