linear VS polysemy

Compare linear vs polysemy and see what are their differences.


Low-dimensional linear algebra primitives for Haskell. (by ekmett)


:gemini: higher-order, no-boilerplate monads (by polysemy-research)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
linear polysemy
2 3
168 876
- 2.1%
5.3 5.7
about 1 month ago 5 days ago
Haskell Haskell
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.


Posts with mentions or reviews of linear. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-02.
  • Probabilistic modelling in Idris: engineering as research | 2021-06-30
    I've come to love the linear approach, where instead of working with Naperian (Representable) functors, you work with Distributive functors.
  • Monthly Hask Anything (June 2021) | 2021-06-02
    See also the linear library, it contains types like data V3 a = V3 a a a with all of the useful instances.


Posts with mentions or reviews of polysemy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-06-02.
  • Monthly Hask Anything (June 2021) | 2021-06-02
  • Trouble Reinterpreting Higher Order Effects in PolySemy | 2021-04-23
    Looking at the interpreter for Reader might give some clues if this doesn't work.
  • Structuring Code with ZIO & ZLayers | 2021-03-03
    *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 (—albeit with a completely different implementation.

What are some alternatives?

When comparing linear and polysemy you can also consider the following projects:

Exercism - Scala Exercises - Crowd-sourced code mentorship. Practice having thoughtful conversations about code.

fused-effects - A fast, flexible, fused effect system for Haskell

ast-monad - A library for constructing AST by using do-notation


nimber - Finite nimber arithmetic


jvm-parser - A Haskell parser for JVM bytecode files

search - infinite search in finite time with Hilbert's epsilon

purescript - A strongly-typed language that compiles to JavaScript