Safe Haskell | Safe-Infered |
---|
Documentation
type FunctionName = String
data Symbol
data Attributes
Attributes | |
|
type Signature = Signature Symbol Attributes
type SignatureMonad a = SignatureMonad Symbol Attributes a
defaultAttribs :: FunctionName -> Arity -> Attributes
symbol :: FunctionName -> Signature -> Maybe Symbol
isSymbol :: Attributes -> Signature -> Bool
fresh :: Attributes -> SignatureMonad Symbol
symbolName :: Signature -> Symbol -> FunctionName
lookup :: Symbol -> Signature -> Maybe Attributes
isCompound :: Signature -> Symbol -> Bool
symbolLabel :: Signature -> Symbol -> Maybe Label
argumentPositions :: Signature -> Symbol -> [Int]
restrictToSymbols :: Signature -> Set Symbol -> Signature