Giter VIP home page Giter VIP logo

list-tries's People

Contributors

23skidoo avatar andersk avatar arybczak avatar deewiant avatar spl avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

23skidoo

list-tries's Issues

build fails on 7.8

https://hackage.haskell.org/package/list-tries-0.6.0/reports/1

i think that 0.6 is still < 7.10, i'll use my trustee powers to limit it for now. https://hackage.haskell.org/package/list-tries-0.6.0/revisions/ (I / you can always revert those bounds, but seems like the right thing to do )

you should also add a .travis.yml and try out travis CI for easily testing the range of GHC's you wish to support before pushign to hackage! :)

https://github.com/hvr/multi-ghc-travis is a good template to use
may OSS haskell projects use that or some customization thereof, eg my hblas package https://github.com/wellposed/hblas/blob/master/.travis.yml
or the lens project https://github.com/ekmett/lens/blob/master/.travis.yml both use it in some form

GHC 8.6 support

Can you please relax the base upper bound on Hackage to < 4.13 to allow building with GHC 8.6?

`Functor (m k) => Map m k` superclass

Similar to how Foldable (m k) is a superclass, it seems like Functor (m k) would also be a useful superclass instead of requiring a custom map function.

Document difference between Data.ListTrie.Map and Data.ListTrie.Patricia.Map

It is not clear which one to use in which situations.

Here is maybe a relevant quote from stackoverflow:

Oh, and since the package didn't state this explicitly anywhere I could see: The "Patricia trie" version is a trie that compresses sequences of single-branch nodes into a single node that stores the common key prefix. So for keys "aabb" and "aabc" you'd get a node with "aab" and then branches "b" and "c". The standard trie always branches one element at a time.

-- Generic Trie Haskell implementation

Looking for new owners

Unfortunately I'm fairly out of touch with the Haskell community these days and don't really have the time or interest to maintain either https://github.com/Deewiant/list-tries or https://github.com/Deewiant/glob properly. For example, I used to be proactive about following the Travis CI notifications about GHC HEAD failing and fixing issues before the next GHC release comes out, but these days I'm letting things languish and only react when someone opens an issue or PR about it. Let alone actually doing more development than the minimal compatibility fixes.

So I'm facing the facts and willing to relinquish ownership of both repos to someone more active. If you're interested, let me know.

Equivalent issue for Glob: Deewiant/glob#36

Longest prefix lookup?

Do (or could) any of the data structures in this package support longest-prefix lookup? That is, if my key is [a,b,c,d,e] and the map has an entry with key [a,b,c] (but not [a,b,c,d] or [a,b,c,d,e]) I'd like a lookup function that returns the value for [a,b,c]. I did not see that listed in the docs, but it seems like a very natural query for maps with lists as keys...

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.