impure-containers
Available on hackage.
Mutable containers in haskell
License: BSD 3-Clause "New" or "Revised" License
Available on hackage.
A few years ago I tried to implement the same "nullable" optimized version of Maybe
. I used something like the following for null pointers:
data Null = Null
However, when I tried to test this as imported from another package, I ran into mysterious crashes and errors. I assumed that for some reason this "nullable" trick does not work and didn't pursue it further. But I see it here; so my question is: is this robustly usable, and do you have any ideas why my data Null
implementation could have possibly crashed?
It is also possible that I simply made some unrelated error in my own attempt, but I recall that I did not think that to be likely.
impure-containers/impure-containers.cabal
Line 19 in c930e22
It's great that you put stuff for others on Hackage, but please, use a bit of time to clean it up :)
I'm wondering whether it would be difficult to add support for multiple edges that go from and to the same vertex. Particularly, I'm interested in knowing how much work it would require to adapt the dijkstra
implementation to this.
To be clear, I'm asking about support for a graph that can have two or more edges that all go from some vertex a
to some other vertex b
(not about support for edges where fromVertex == toVertex
). I imagine edges could be deleted selectively by comparing them with their Eq
instance (like fgl
does: https://www.stackage.org/haddock/lts-11.13/fgl-5.6.0.0/Data-Graph-Inductive-Graph.html#v:delLEdge).
In cabal file I see
Please see README.md
but there is no such file in this package.
Is it intended?
I've been using impure-containers
in my eqsat project, and I've come up with some issues that you may be interested in. I'm going to comment on this issue with each one, to avoid spamming you. Hackage is sorely lacking a good consistent package for mutable containers, and impure-containers
is the best thing I've seen so far :-), so I'd like to see some improvements (and will likely write up PRs after I graduate on May 10).
cc: @chessai
Juding from the containers package changelog 6.0 should work fine but is currently ruled out by bounds.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.