polysemy
fused-effects
Our great sponsors
polysemy | fused-effects | |
---|---|---|
6 | 3 | |
936 | 557 | |
0.9% | 1.1% | |
6.8 | 8.1 | |
1 day ago | 2 months ago | |
Haskell | Haskell | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
polysemy
-
Introduction to Doctests in Haskell
Looking for a few projects that make use of it, I found accelerate, hawk, polysemy and pretty-simple, so I'll be interested to poke around in their code and see how they have things set up.
-
ReaderT pattern is just extensible effects
Right, I think I'll just give it a shot to see. Polysemy is nice but I'm still having trouble getting what I want out of it (which may very well be entirely a fault of my own understanding)
-
Where's more discussion of the designs of effect systems?
Languages such as Koka only support algebraic effects, not scoping operations such as catch and listen. The Effect Handlers in Scope paper introduces scoping operations, which lead to the Haskell libraries fused-effects and polysemy, but they turned out to have some weird semantics. eff is her effort to fix that.
- Monthly Hask Anything (June 2021)
-
Trouble Reinterpreting Higher Order Effects in PolySemy
Looking at the interpreter for Reader might give some clues if this doesn't work. https://github.com/polysemy-research/polysemy/blob/master/src/Polysemy/Reader.hs#L38-L45
-
Structuring Code with ZIO & ZLayers
*But I'm not terribly well versed in Scala's other DI offerings. I came from Haskell and didn't find anything in Scala that clicked with me until I found ZIO. It reminded me a lot of my favorite way of writing Haskell programs (https://github.com/polysemy-research/polysemy)โalbeit with a completely different implementation.
fused-effects
-
Where's more discussion of the designs of effect systems?
Languages such as Koka only support algebraic effects, not scoping operations such as catch and listen. The Effect Handlers in Scope paper introduces scoping operations, which lead to the Haskell libraries fused-effects and polysemy, but they turned out to have some weird semantics. eff is her effort to fix that.
- Haskell doesn't make sense without pure functions
- Monthly Hask Anything (June 2021)
What are some alternatives?
Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.
purescript - A strongly-typed language that compiles to JavaScript
eff - ๐ง a work in progress effect system for Haskell ๐ง
ast-monad - A library for constructing AST by using do-notation
eveff - Efficient Haskell effect handlers based on evidence translation.
freer-simple - A friendly effect system for Haskell
liquidhaskell - Liquid Types For Haskell
linear - Low-dimensional linear algebra primitives for Haskell.
haskell.nix - Alternative Haskell Infrastructure for Nixpkgs
liquid-fixpoint - Horn Clause Constraint Solving for Liquid Types
language-python - A parser for Python 2.x and 3.x written in Haskell
frp-arduino - Arduino programming without the hassle of C.