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

Joachim Durchholz jo at durchholz.org
Mon Feb 8 19:28:23 UTC 2016


Am 08.02.2016 um 18:59 schrieb Michael Orlitzky:
> If most uses of "$" are for,
>
>    putStrLn $ "Hello" ++ " world!"
>
> to avoid,
>
>    putStrLn ("Hello" ++ " world!")
>
> then I think it's silly to worry about the type of "$". Most people
> don't have to know, care, or use it -- the second example is much
> clearer.

Only if you are on the standard programming language mindset.
I.e. those who learn Haskell first will find putStrLn "Hello" ++ 
"world!" more natural.


More information about the Haskell-Cafe mailing list