
I'm not seeing a semicolon anywhere here... Am 08.02.2016 um 21:39 schrieb Matthias Hörmann:
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
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@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe