Copyright | (c) Karl Luc, DFKI Bremen 2010, Eugen Kuksa, Uni Bremen 2011 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | eugenk@informatik.uni-bremen.de |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Definition of symbols for common logic
- newtype Symbol = Symbol {}
- printSymbol :: Symbol -> Doc
- symOf :: Sign -> Set Symbol
- getSymbolMap :: Morphism -> Map Symbol Symbol
- getSymbolName :: Symbol -> Id
- symbolToRaw :: Symbol -> Symbol
- idToRaw :: Id -> Symbol
- matches :: Symbol -> Symbol -> Bool
- addSymbToSign :: Sign -> Symbol -> Result Sign
- symKind :: Symbol -> String
Documentation
newtype Symbol
printSymbol :: Symbol -> Doc
Pretty prints the symbol x
getSymbolMap :: Morphism -> Map Symbol Symbol
Determines the symbol map of a morhpism
getSymbolName :: Symbol -> Id
Determines the name of a symbol
symbolToRaw :: Symbol -> Symbol
addSymbToSign :: Sign -> Symbol -> Result Sign
Adds a symbol to a signature