Unnecessary differences between Haskell and PureScript
— 69 Words — 1 min
This issue is only about differences that are different without being an improvement.
More people coming from Haskell to PureScript than from JavaScript/TypeScreipt.
-
#instead of$ -
Different record syntax. In PureScript:
let user = { name: "John", height: 175 }In Haskell:
let user = { name = "John", height = 175 }Haskell make more sense since assignments can easily pulled out of the record, or moved into the record without changing the syntax:
let user = { name = "John" } height = 175 -
trueandfalsevs.TrueandFalse -
Multi-line syntax
- Does not remove indentation
- ???
If you have any comments, thoughts, or other feedback feel free to write me @AdrianSieber. Thanks for your help! 😊