purescript / documentation

Documentation for the PureScript language, compiler, and tools.
Other
1.03k stars 301 forks source link

Evaluation strategy #455

Open kephas opened 1 year ago

kephas commented 1 year ago

In language/Differences-from-Haskell.md, it is said

Unlike Haskell, PureScript is strictly evaluated.

But there are two alternative backends, for Haskell and Nix, that have lazy evaluation. Does that mean that they are non-conforming backends? If not, shouldn't this documentation be changed to something like:

Unlike Haskell, PureScript's default JS backend is strictly evaluated.