Open milesfrain opened 4 years ago
Here are some notes on ReasonML differences from reading their overview.
rec
required for recursive functions.()
is shorthand for unit
.disjointUnion
.option
type, which is like Maybe
.purescript-option
, but certainly a lot more ergonomic when built into the language.Should we include any content with comparisons to OOP? This might help folks coming from an OOP background where PureScript is their first FP language. Thinking it would be better to link to existing Haskell resources, rather than re-write our own. Here are some I found so far:
The differences from Haskell doc in this repo is really helpful.
Likewise, this Elm to PS cheatsheet is great too, and we have permission (https://github.com/alpacaaa/elm-to-purescript-cheatsheet/issues/9) to absorb its content.
Proposing we include docs for comparisons to all of these languages:
There's an outdated section in the book's intro that touches on comparisons to other JS options. I was originally considering adding some notes on other languages there, but I think it would be best to have all this info in a common location.