Comments (5)
The Tree
API is really very poor. The reason is only that nobody has spend time working on it.
It makes sense to add functions to the Tree
module. The naming should be consistent with the rest of the containers API, so treefilter
should really be just filter
, the subtreeat
maybe lookupTree
, etc.
Please note that containers API changes are subject to http://www.haskell.org/haskellwiki/Library_submissions process, especially see http://www.haskell.org/haskellwiki/Library_submissions#Guidance_for_proposers. If you want to pursue this, please send a specific proposal (functions and their types you want to add; no implementation is needed at this point) to the libraries mailing list.
Cheers,
Milan
from containers.
Allright, I'll see if I can find some time to make the proposals, thanks!
Cheers,
João
from containers.
Hi again,
I'm sorry for the delay on this...
So, the discussion threads:
1
2
Should I send a new email with a summary, just to make sure that everyone is on-board with the latest proposal (your, of separating the Tree from the Forest functions), or the current discussion is sufficient to advance with this?
Cheers,
João
from containers.
Please reiterate it on libraries list. Just start a new thread with the latest proposal.
I am not saying the Tree/Forest module split is the best alternative, it was just an idea. Please do not hesitate to mention in the proposal also the possibility of distinguishing functions using names only (i.e., using empty vs. Forest suffix (like filter + filterForest), or forest prefix (filter and forestFilter, or anything you come up with).
from containers.
It's been quite some time since this has been updated, was there any resolution on the libraries list for these? If not I was planning on going through the Tree api and putting together a proposal for functions to be added, I can include these in the list.
from containers.
Related Issues (20)
- Symmetric difference for sets
- Incorrect order of Applicative actions in mergeA when using filterAMissing HOT 4
- `IntMap` `isProperSubmapOfBy` test failure HOT 4
- More accurate Set and Map size warnings HOT 3
- better instance Hashable IntSet? HOT 8
- Unusual definition of foldrBits and foldlBits HOT 3
- Unnecessary CPP and C header in `Data.Map.Internal.Debug.html`?
- Release for GHC 9.8.1 HOT 17
- feat request: Add `popLeftWithValue` and `popWithValue` in `Data.Sequence` HOT 5
- Data.Graph: detect cycles utility functions HOT 2
- Data.Map.mergeWithKey doesn't match documentation
- Flag to introduce pedantic invariant checks? HOT 2
- Map.unionWith is over specialized and not consistent with intersectionWith HOT 10
- Add `flattenSCC1 : SCC vertex -> Data.List.NonEmpty.NonEmpty vertex` HOT 2
- Data.Map.Internal does not export insertMin
- Repo: remove merged branches?
- Contribution guide outdated?
- Potential memory optimization for IntMap and IntSet HOT 8
- Errors when trying to generate a test coverage report HOT 10
- Full IntSets? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from containers.