Safe Haskell | Safe-Infered |
---|
NLP.GenI.LexicalSelection.Types
Contents
- data PathEqLhs
- data NodePathEqLhs
- data TopBottom
- type PathEqPair = (NodePathEqLhs, GeniVal)
- parsePathEq :: Text -> Writer [LexCombineError] PathEqLhs
- showPathEqLhs :: PathEqLhs -> Text
- data LexCombineError
- data LexCombineError2
- showLexCombineError :: LexCombineError -> (Text, Text)
- compressLexCombineErrors :: [LexCombineError] -> [LexCombineError]
Documentation
data PathEqLhs
Left hand side of a path equation
Constructors
PeqInterface Text | |
PeqJust NodePathEqLhs | |
PeqUnknown Text |
Path equations
type PathEqPair = (NodePathEqLhs, GeniVal)
parsePathEq :: Text -> Writer [LexCombineError] PathEqLhs
Parse a path equation using the GenI conventions
This always succeeds, but can return Just warning
if anything anomalous comes up
FIXME : make more efficient
showPathEqLhs :: PathEqLhs -> Text
Warnings
data LexCombineError
Constructors
BoringError Text | |
FamilyNotFoundError Text | |
SchemaError [Text] LexCombineError2 |
data LexCombineError2
Constructors
EnrichError PathEqLhs | |
StringError Text |
showLexCombineError :: LexCombineError -> (Text, Text)