News for hackers. Stuff that matters.
Re:Companies That Use Haskell in Production by chrsig on Tuesday May 03, 2022 @02:45PM (#31251935)
Interesting, I hadn't heard it adopted a dot notation. Does this mean you can have different records with the same field names now?
Re:Companies That Use Haskell in Production by rowanG077 on Tuesday May 03, 2022 @03:44PM (#31252618)
You can already have different records with the same field with the "DuplicateRecordsFields" extension: https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/dupl...

What is meant here is that instead of writing `fieldName record` you can write `record.fieldName` mirroring imperative language.