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)
- CONTRIBUTING.md references `cabal sandbox` HOT 3
- Is graphFromEdges too lazy? HOT 4
- Should dfs be lazy? HOT 8
- Make foldMap1 for Data.Tree follow the structure HOT 4
- Add laziness tests for Tree foldMap1 HOT 2
- Check time bound for graphFromEdges HOT 2
- Use a custom array type for SetM? HOT 6
- Optimize scc as hard as possible HOT 3
- Different Links to OverloadedLists Extension HOT 1
- A more efficient Graph representation HOT 4
- Use generic map merging framework HOT 1
- Build fails with "Prelude.chr: bad argument" HOT 11
- Build of container-test fails with cabal HOT 8
- containers-0.6.4.1 and 0.6.3.1 fail to build with GHC-9.6.1 HOT 2
- Set difference and union in one HOT 4
- foldTree does not optimize well HOT 2
- Tree fusion HOT 16
- Fusible Set.fromDistinctAscList definition HOT 10
- Fusible IntSet.fromDistinctAscList definition HOT 3
- NonEmpty for CyclicSCC HOT 11
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.