News for hackers. Stuff that matters.
Re:Reading Simple Haskell by nybble41 on Monday December 11, 2017 @02:09PM (#15899415)
> when research papers show sample Haskell, but it's not quite Haskell

For the most part the code in the research papers actually _is_ valid Haskell, provided you enable the -XUnicodeSyntax extension and include a few extra modules. Haskell 98 permits Unicode symbols and identifiers; the extension covers the handful of symbols which are built in to the language or enabled by other extensions. You can find a full list here: https://downloads.haskell.org/~ghc/latest/docs/html/users_gu...

Personally I prefer Unicode symbols and tend to use them whenever possible. I have some XCompose rules configured to make them easier to type. Unfortunately, I have yet to find a comparable input system for Windows.

There are no comments on this comment yet.