Copyright | (c) Christian Maeder and Uni Bremen 2002-2006 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
mapping entities of morphisms
- disjointKeys :: (Ord a, Pretty a, Monad m) => Map a b -> Map a c -> m ()
- mapKindI :: IdMap -> Kind -> Kind
- mapKinds :: Morphism -> Kind -> Kind
- mapKindsOfType :: IdMap -> TypeMap -> IdMap -> Type -> Type
- mapTypeE :: IdMap -> TypeMap -> IdMap -> Type -> Type
- mapVarKind :: IdMap -> TypeMap -> IdMap -> VarKind -> VarKind
- mapTypeArg :: IdMap -> TypeMap -> IdMap -> TypeArg -> TypeArg
- mapTypeScheme :: IdMap -> TypeMap -> IdMap -> TypeScheme -> TypeScheme
- mapSen :: IdMap -> TypeMap -> IdMap -> FunMap -> Term -> Term
- getDatatypeIds :: DataEntry -> Set Id
- mapDataEntry :: IdMap -> TypeMap -> IdMap -> FunMap -> DataEntry -> DataEntry
- mapAlt :: IdMap -> TypeMap -> IdMap -> FunMap -> IdMap -> [TypeArg] -> Type -> AltDefn -> AltDefn
- mapSel :: IdMap -> TypeMap -> IdMap -> FunMap -> IdMap -> [TypeArg] -> Type -> Selector -> Selector
- getPartiality :: [a] -> Type -> Partiality
- mapSentence :: Morphism -> Sentence -> Result Sentence
- mapFunSym :: IdMap -> TypeMap -> IdMap -> FunMap -> (Id, TypeScheme) -> (Id, TypeScheme)
- ideMor :: Env -> Morphism
- compMor :: Morphism -> Morphism -> Result Morphism
- showEnvDiff :: Env -> Env -> String
- legalMor :: Morphism -> Result ()
- morphismUnion :: Morphism -> Morphism -> Result Morphism
- morphismToSymbMap :: Morphism -> SymbolMap
Documentation
mapVarKind :: IdMap -> TypeMap -> IdMap -> VarKind -> VarKind
map a kind along a signature morphism (variance is preserved)
mapTypeScheme :: IdMap -> TypeMap -> IdMap -> TypeScheme -> TypeScheme
getDatatypeIds :: DataEntry -> Set Id
getPartiality :: [a] -> Type -> Partiality
get the partiality from a constructor type with a given number of curried arguments.
mapSentence :: Morphism -> Sentence -> Result Sentence
mapFunSym :: IdMap -> TypeMap -> IdMap -> FunMap -> (Id, TypeScheme) -> (Id, TypeScheme)
showEnvDiff :: Env -> Env -> String
morphismUnion :: Morphism -> Morphism -> Result Morphism