hydra-0.1.0: Type-aware transformations for data and functional programs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Impl.Haskell.Dsl.Prims

Documentation

binaryPrimitive :: Name -> TermCoder m a -> TermCoder m b -> TermCoder m c -> (a -> b -> c) -> PrimitiveFunction m Source #

flow :: TermCoder m s -> TermCoder m a -> TermCoder m (Flow s a) Source #

function :: TermCoder m a -> TermCoder m b -> TermCoder m (a -> b) Source #

list :: Show m => TermCoder m a -> TermCoder m [a] Source #

map :: (Ord k, Ord m, Show m) => TermCoder m k -> TermCoder m v -> TermCoder m (Map k v) Source #

set :: (Ord a, Ord m, Show m) => TermCoder m a -> TermCoder m (Set a) Source #

unaryPrimitive :: Name -> TermCoder m a -> TermCoder m b -> (a -> b) -> PrimitiveFunction m Source #