Copyright | (c) Christian Maeder, Uni Bremen 2005 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe-Inferred |
folding functions for CASL terms and formulas
Documentation
data Record f a b
constRecord :: (f -> a) -> ([a] -> a) -> a -> Record f a a
foldFormula :: Record f a b -> FORMULA f -> a
foldOnlyTerm :: (FORMULA f -> a) -> Record f a b -> TERM f -> b