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

Matthias Hörmann mhoermann at gmail.com
Mon Feb 8 20:39:20 UTC 2016


Are you seriously suggesting to overloaded semicolons to *avoid*
confusing newcomers to Haskell from other languages?

And all of that just in case that newcomer happens to look at the
output of :t ($)?

On Mon, Feb 8, 2016 at 8:28 PM, Joachim Durchholz <jo at durchholz.org> wrote:
> 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.
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list