Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> 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…



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.


Or didn't verify what LLM wrote




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: