Module

Data.Graph.Causal.Utility

Package
purescript-causal-graphs
Repository
colehaus/purescript-causal-graphs

#break Source

break :: forall c b a. (a -> b -> Either b c) -> a -> Either b c -> Either b c

#history Source

history :: forall b a. (a -> Maybe a -> Maybe b) -> a -> Maybe a -> Either (Maybe a) b

#after Source

after :: forall k f. Eq k => Foldable f => k -> f k -> Maybe k

#before Source

before :: forall k f. Eq k => Foldable f => k -> f k -> Maybe k

#distinctTwoSets Source

distinctTwoSets :: forall a. Ord a => Set a -> Set (TwoSet a)

#powerSet Source

powerSet :: forall a. Ord a => Set a -> Set (Set a)