Coder Social home page Coder Social logo

impure-containers's Introduction

impure-containers

Available on hackage.

impure-containers's People

Contributors

aljce avatar andrewthad avatar chessai avatar dminuoso avatar maksbotan avatar phadej avatar taktoa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

impure-containers's Issues

Is Maybe.Unsafe robust?

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.

Support for multiple edges with same from/to vertex?

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).

no readme?

In cabal file I see

Please see README.md

but there is no such file in this package.
Is it intended?

`eqsat` issue roundup

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

Update container bounds

Juding from the containers package changelog 6.0 should work fine but is currently ruled out by bounds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.