Type-machine

(arthi-chaud.github.io)

28 points | by todsacerdoti 9 hours ago ago

8 comments

  • bradrn 8 hours ago ago

    > Thankfully, in GHC 7.4.1 was introduced the record syntax, which allows naming fields, like this […]

    What on Earth? Record syntax has been around since the very first versions of Haskell. This is a surprisingly blatant error to see so near the beginning of this article…

    • gylterud 7 hours ago ago

      I guess they were confused by the GHc documentation which says that the language option TraditionalRecordSyntax was introduced then, and enabled by default. Of course, the actual syntax was always part of the language. There just wasn’t an explicit option to enable/disable it.

  • drumnerd an hour ago ago

    So a little bit of syntax is verbose, goes on to invent a whole new syntax for it

  • mpoteat 6 hours ago ago

    Look at what they need to mimic a fraction of our power.

  • akoboldfrying 3 hours ago ago

    Discovering that Template Haskell exists was important to younger me. Its existence means Smart People have concluded that there are notions of abstraction that can't be adequately captured in regular Haskell, which freed me from the persistent feeling that my inability to express something nicely in regular Haskell was due to some inadequacy in myself. I could at last relax, and despise the language.

    Also, Haskell? You can take your space leaks and shove them.