News for hackers. Stuff that matters.
Re:Reading Simple Haskell by seventydwarves on Saturday December 09, 2017 @08:34PM (#15889266)
Internally, Python is a lot like that, too - like in Haskell, the lexer adds in brace tokens when the code is indented an unindented, which keeps the grammar simpler. I guess the main difference here is that Haskell exposes the underlying whitespace-insensitive notation to the programmer, too, whereas Python keeps it hidden.
Re:Reading Simple Haskell by Tarean on Sunday December 10, 2017 @02:27PM (#15893026)
Haskell is also a LOT more lenient. So stuff like

    if x < 5
    then 42
    else x
       + 1
       + 2
is legal.