News for hackers. Stuff that matters.
Re:Inventing Monads by neckardt on Saturday August 29, 2020 @09:35PM (#24320642)
You might like hinc, it's haskell but with C style syntax: https://github.com/serras/hinc/blob/master/why.md
Re:Inventing Monads by yomly on Sunday August 30, 2020 @05:28AM (#24322343)
Thanks for the suggestion but Haskell would not be Haskell without its ML-yness.

As confusing as operator precedence can get, I do see the beauty in "programmable whitespace" but to get anywhere close in other language syntaxes you need to do even more perverse things like here [1]

If I did have to choose a different syntax for haskell it would be S-expressions rather than Algol so perhaps Hackett from Lexi Lambda

[1] https://stackoverflow.com/a/48553568

Re:Inventing Monads by scns on Sunday August 30, 2020 @02:01AM (#24321669)
I like it.

"This is not by coincidence: people learning Haskell usually have problems with point-free style not because of the composition operator per se, but because code is suddenly "reversed". Other communities such as F# have adopted the "pipe forward" operator instead of composition as the default style."

That's why i prefer the reverse application operator & to .