4 ms·
Purescript does have algebraic effects and row polymorphism generally, which Haskell does not AFAIK (I don’t do as much Haskell as I would like so I may be wron
by wwright 7y ago
Purescript does have algebraic effects and row polymorphism generally, which Haskell does not AFAIK (I don’t do as much Haskell as I would like so I may be wrong.)
- ghostwriter 7y agoAlgebraic effects are not part of the language implementation, but there are libraries like fused-effects[1] that implement them. Row polymorphism has been proposed a few years ago [2], but as with any community effort, the timeline and possibility of the actual implementation depends on the amount of attention put into it instead of some other (probably important, too) work. [1]: https://github.com/fused-effects/fused-effects https://github.com/fused-effects/fused-effects [2]: https://github.com/ghc-proposals/ghc-proposals/pull/180 https://github.com/ghc-proposals/ghc-proposals/pull/180