8000 GitHub - mixman/dual-tree: Rose (n-way) trees with both upwards- (i.e. cached) and downwards-traveling (i.e. accumulating) monoidal annotations.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rose (n-way) trees with both upwards- (i.e. cached) and downwards-traveling (i.e. accumulating) monoidal annotations.

License

Notifications You must be signed in to change notification settings

mixman/dual-tree

 
 

Repository files navigation

Build Status

Rose (n-ary) trees with both upwards- (i.e. cached) and downwards-traveling (i.e. accumulating) monoidal annotations. This is used as the core data structure underlying the diagrams framework, but potentially has other applications as well.

Abstractly, a DUALTree is a rose (n-ary) tree with data of one type at leaves, data of another type at internal nodes, and two types of monoidal annotations, one travelling "up" the tree and one traveling "down".

For a bit of background and motivation, see the paper

Brent Yorgey. Monoids: Theme and Variations. Haskell Symposium, 2012.

To install,

cabal install dual-tree

About

Rose (n-way) trees with both upwards- (i.e. cached) and downwards-traveling (i.e. accumulating) monoidal annotations.

Resources

License

Star 3F06 s

Watchers

Forks

Packages

No packages published

Languages

  • Haskell 100.0%
0