linear-base VS linear-generics

Compare linear-base vs linear-generics and see what are their differences.

linear-base

Standard library for linear types in Haskell. (by tweag)

linear-generics

Support for linearly-typed generics in Haskell (by linear-generics)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
linear-base linear-generics
10 2
333 6
1.2% -
5.9 4.0
18 days ago 10 days ago
Haskell Haskell
MIT 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.

linear-base

Posts with mentions or reviews of linear-base. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-11.

linear-generics

Posts with mentions or reviews of linear-generics. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-11.
  • What is the longterm status of -XLinearTypes ?
    2 projects | /r/haskell | 11 Mar 2022
    Thanks for your interest in linear types. The sort of overarching answer is that the Covid crisis has put a serious wrench in our plans. There has been very little progress on the implementation in the past 2 years, I'm afraid. I hope to slowly pick up the pace again this year. But I make no promise as to specific plans just yet. When we have more visibility, we will publish a roadmap. This is not to say that nothing has happened at all: linear-base is getting a pretty significant release any day now, David Feuer (no affiliated with Tweag) has created linear-generics, an implementation of Generic which is compatible with linear types (there is a surprisingly subtle issue with Generic1, in particular, that I don't understand very well, so won't try to explain), we co-wrote two academic articles as well.
  • Implementing Generic1 using Generic
    1 project | /r/haskell | 15 Oct 2021
    I'm probably going to use a version of this in linear-generics.

What are some alternatives?

When comparing linear-base and linear-generics you can also consider the following projects:

koka - Koka language compiler and interpreter

juvix - Juvix empowers developers to write code in a high-level, functional language, compile it to gas-efficient output VM instructions, and formally verify the safety of their contracts prior to deployment and execution.

text - Haskell library for space- and time-efficient operations over Unicode text.

linear-builder - Strict Text and ByteString builder, which hides mutable buffer behind linear types and takes amortized linear time.

mikail-khan.com - Personal website using Haskell's Servant framework and Blaze-HTML

ShellCheck - ShellCheck, a static analysis tool for shell scripts