[Haskell-cafe] Language complexity & beginners (Was: New type of ($) operator in GHC 8.0 is problematic)
Michael Orlitzky
michael at orlitzky.com
Mon Feb 8 17:45:46 UTC 2016
On 02/08/2016 12:33 PM, Imants Cekusins wrote:
> would
> f 1 ; 2 + 3
>
> look ok instead of
> f 1 $ 2 + 3
>
> ?
>
> the semicolon would be part of syntax, not something with a type
> the intuition is: pause application until the rest is applied
The semicolon is already appropriated sadly:
ghci> do { putStr "Hello" ; putStrLn " world!"; }
Hello world!
More information about the Haskell-Cafe
mailing list