linear VS haskell.nix

Compare linear vs haskell.nix and see what are their differences.


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


Alternative Haskell Infrastructure for Nixpkgs (by input-output-hk)
Our great sponsors
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • Scout APM - A developer's best friend. Try free for 14-days
  • SaaSHub - Software Alternatives and Reviews
linear haskell.nix
2 6
168 346
- 5.8%
5.4 9.5
25 days ago 3 days ago
Haskell Nix
BSD 3-clause "New" or "Revised" License Apache License 2.0
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 haskell.nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-09.
  • Memory from finished thread is not getting reclaimed | 2021-09-09
    If you are somewhat comfortable with nix: supports GHCJS 8.10.x (in particular 8.10.7).
  • What's all the hype with Nix? | 2021-06-02
    I also prefer stack for development, but I use nix to deploy to production. This way, I can install ad-hoc system dependencies locally and play with them during development as well as enjoy the bits and pieces of Haskell ergonomics stack affords, and once I'm happy with what I have, I "nixify" those dependencies as part of the project nix configuration and send them to production without fear. I use IOHK's excellent haskell.nix infrastructure to nixify my stack-based Haskell project, which makes it trivial to maintain a nix configuration that's always in sync with my stack configuration.
  • Monthly Hask Anything (June 2021) | 2021-06-02
    And stuff like haskell.nix is supposed to let you configure things with stack or cabal or whatever tool you find most convenient, and let nix do the rest.
  • Another Haskell and Nix setup | 2021-05-07
    /u/ItsNotMineISwear mentioned haskell.nix, which does generate a Haskell package set based on either a stack.yaml file, or the Cabal solver. This would solve some of your problems, but then possibly introduce others.
  • GHC Pluggable Backend? | 2021-05-04
    There are a bunch of open branches. And yes, there is ghcjs support in haskell.nix, see this comment.
  • Debian Discusses Vendoring–Again | 2021-01-13
    Fine-grain depedencies are crucial, but vendoring is terrible.

    Check out for technical solutions to getting the best of both worlds.

    Sorry, but there's just no way APT and RPM are going to keep up here very well.

What are some alternatives?

When comparing linear and haskell.nix you can also consider the following projects:


nimber - Finite nimber arithmetic


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

cargo-deb - A cargo subcommand that generates Debian packages from information in Cargo.toml

nixkell - A simple Nix-Haskell skeleton

nix-doom-emacs - doom-emacs packaged for Nix