Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type SpecForest a = [SpecTree a] Source #
SpecifyNode Text a | |
PendingNode Text (Maybe Text) | |
DescribeNode Text (SpecForest a) | |
SubForestNode (SpecForest a) |
Instances
Foldable SpecTree Source # | |
Defined in Test.Syd.SpecForest fold :: Monoid m => SpecTree m -> m # foldMap :: Monoid m => (a -> m) -> SpecTree a -> m # foldMap' :: Monoid m => (a -> m) -> SpecTree a -> m # foldr :: (a -> b -> b) -> b -> SpecTree a -> b # foldr' :: (a -> b -> b) -> b -> SpecTree a -> b # foldl :: (b -> a -> b) -> b -> SpecTree a -> b # foldl' :: (b -> a -> b) -> b -> SpecTree a -> b # foldr1 :: (a -> a -> a) -> SpecTree a -> a # foldl1 :: (a -> a -> a) -> SpecTree a -> a # elem :: Eq a => a -> SpecTree a -> Bool # maximum :: Ord a => SpecTree a -> a # minimum :: Ord a => SpecTree a -> a # | |
Traversable SpecTree Source # | |
Functor SpecTree Source # | |
flattenSpecForest :: SpecForest a -> [([Text], a)] Source #
flattenSpecTree :: SpecTree a -> [([Text], a)] Source #