linear-base
Standard library for linear types in Haskell. (by tweag)
mikail-khan.com
Personal website using Haskell's Servant framework and Blaze-HTML (by mkhan45)
Our great sponsors
linear-base | mikail-khan.com | |
---|---|---|
10 | 2 | |
333 | 0 | |
1.2% | - | |
5.9 | 0.0 | |
14 days ago | over 2 years ago | |
Haskell | Haskell | |
MIT License | GNU General Public License v3.0 only |
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.
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.
-
What I don't do is look at flour, water and salt, then map them all through an anonymous function, which gives me unstirred dough while leaving the original ingredients unchanged.
lol no Data.Dough.Destination
- Linear Types in Haskell
-
What is the longterm status of -XLinearTypes ?
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.
-
Does Haskell allow pure functions to use *encapsulated* impurity
See here for a linear quicksort implementation.
-
Monthly Hask Anything (March 2021)
Handle is defined in terms of UnsafeResource (in linear-base). This is where the linearity checking "stops". If you pattern match an UnsafeResource then you have to make sure that you correctly close/free it. Luckily, this only has to be implemented once in an internal module and is not exported in the public interface.
-
Tweag - linear-base makes writing Linear Haskell easy and fun
The optics sublibrary is not very developed yet. Because our arrays, which are one of the principal use-case, require a special kind of lens which we haven't managed to produce without too much code duplication yet. The design space is discussed in this issue.
-
Monthly Hask Anything (January 2021)
So to write a function f :: a %1 -> () you have to traverse the whole datatype a, see the Data.Unrestricted.Internal.Consumable and Data.Unrestricted.Internal.Instances, which introduces a type class consumable which implements exactly this functionality.
-
Ephemeral Purely Functional Data Structure And
Trying to run empty Ur shouldn't typecheck, because the Ur constructor is not linear. This seems to be an idiom used in other places of linear-base.
mikail-khan.com
Posts with mentions or reviews of mikail-khan.com.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2020-12-31.
-
FP College Internships?
In case someone with recruiting power sees this, my resume/portfolio can be found on https://mikail-khan.com
- Monthly Hask Anything (January 2021)
What are some alternatives?
When comparing linear-base and mikail-khan.com 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.
ShellCheck - ShellCheck, a static analysis tool for shell scripts
linear-generics - Support for linearly-typed generics in Haskell