Commit before generalising FromWest/South etc

This commit is contained in:
2022-06-14 10:37:24 +01:00
parent d17f83928a
commit 4a910566e6
14 changed files with 137 additions and 126 deletions
-5
View File
@@ -9,16 +9,11 @@ module Dodge.Tree.Compose
, numSelfTree
, combineTree
, decomposeSelfTree
-- , composeTree'
, shiftChildren
, attachTree
-- , composeTreeRand
-- , composeAndLog
, toOnward
, attachOnward
, showIntsString
-- , cmpToMT
-- , compTree
, module Dodge.Tree.Compose.Data
) where
import Dodge.Data
-1
View File
@@ -5,7 +5,6 @@ import Data.Tree
import Control.Lens
--data MetaTree a = MTree {_mtLabel :: String , _mtTree :: MetaNode a , _mtBranches :: [MetaBranch a] }
data MetaTree a b = MTree {_mtLabel :: b , _mtTree :: MetaNode a b, _mtBranches :: [MetaBranch a b] }
data MetaNode a b = NodeTree {_nodeTree :: Tree a} | NodeMTree {_nodeMetaTree :: MetaTree a b}
data MetaBranch a b = MBranch {_mbAttach :: a -> Maybe a, _mbTree :: MetaTree a b}