clafer-0.3.7: clafer compiles Clafer models to other formats, such as Alloy, XML, HTML, Dot.

Safe HaskellNone
LanguageHaskell2010

Language.Clafer.Common

Documentation

mapHierarchy :: (IClafer -> b) -> (IClafer -> String) -> [IClafer] -> IClafer -> [b] Source

apply :: forall t t1. (t -> t1) -> t -> (t, t1) Source

bfs :: forall b b1. (b1 -> (b, [b1])) -> [b1] -> [b] Source

lurry :: forall t t1. ([t1] -> t) -> t1 -> t1 -> t Source

fst3 :: forall t t1 t2. (t, t1, t2) -> t Source

snd3 :: forall t t1 t2. (t, t1, t2) -> t1 Source

trd3 :: forall t t1 t2. (t, t1, t2) -> t2 Source

toTriple :: forall t t1 t2. t -> (t1, t2) -> (t, t1, t2) Source

toMTriple :: forall t t1 t2. t -> (t1, t2) -> Maybe (t, t1, t2) Source

data GEnv Source

Constructors

GEnv 

Instances

voidf :: Monad m => m t -> m () Source