Safe Haskell | None |
---|---|
Language | Haskell2010 |
STM mutable tree
Synopsis
- data TTree k v = TTree {
- treeKey :: k
- treeValue :: v
- treeChildren :: TList (TTree k v)
- treeParent :: TVar (Maybe (TTree k v))
- newtype TTreePath k = TTreePath [k]
- singleton :: k -> v -> STM (TTree k v)
- addChild :: k -> v -> TTree k v -> STM (TTree k v)
- detachChild :: TEq k => TTree k v -> STM ()
- attachChild :: TEq k => TTree k v -> TTree k v -> STM ()
- treeFollowPath :: TEq k => TTree k v -> TTreePath k -> STM (Maybe (TTree k v))
Documentation
A STM mutable tree
TTree | |
|