Copyright | (c) C.Maeder DFKI Lab Bremen 2008 |
---|---|
License | GPLv2 or higher, see LICENSE.txt |
Maintainer | Christian.Maeder@dfki.de |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
A parser for the TPTP Input Syntax v3.4.0.1 taken from http://www.cs.miami.edu/~tptp/TPTP/SyntaxBNF.html
Documentation
singleQuoted :: Parser String Source #
GenTerm GenData (Maybe GenTerm) | |
GenTermList [GenTerm] |
Instances
Data GenTerm Source # | |
Defined in SoftFOL.Sign gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GenTerm -> c GenTerm gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GenTerm dataTypeOf :: GenTerm -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GenTerm) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GenTerm) gmapT :: (forall b. Data b => b -> b) -> GenTerm -> GenTerm gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GenTerm -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GenTerm -> r gmapQ :: (forall d. Data d => d -> u) -> GenTerm -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> GenTerm -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> GenTerm -> m GenTerm gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GenTerm -> m GenTerm gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GenTerm -> m GenTerm | |
Show GenTerm Source # | |
Generic GenTerm | |
FromJSON GenTerm | |
Defined in SoftFOL.ATC_SoftFOL parseJSON :: Value -> Parser GenTerm parseJSONList :: Value -> Parser [GenTerm] | |
ToJSON GenTerm | |
Defined in SoftFOL.ATC_SoftFOL toEncoding :: GenTerm -> Encoding toJSONList :: [GenTerm] -> Value toEncodingList :: [GenTerm] -> Encoding | |
ShATermConvertible GenTerm | |
Defined in SoftFOL.ATC_SoftFOL toShATermAux :: ATermTable -> GenTerm -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [GenTerm] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, GenTerm) fromShATermList' :: Int -> ATermTable -> (ATermTable, [GenTerm]) | |
type Rep GenTerm | |
Defined in SoftFOL.ATC_SoftFOL type Rep GenTerm = D1 ('MetaData "GenTerm" "SoftFOL.Sign" "main" 'False) (C1 ('MetaCons "GenTerm" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 GenData) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe GenTerm))) :+: C1 ('MetaCons "GenTermList" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GenTerm]))) |
GenData AWord [GenTerm] | |
OtherGenData String | |
GenFormData FormData |
Instances
Data GenData Source # | |
Defined in SoftFOL.Sign gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GenData -> c GenData gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GenData dataTypeOf :: GenData -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GenData) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GenData) gmapT :: (forall b. Data b => b -> b) -> GenData -> GenData gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GenData -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GenData -> r gmapQ :: (forall d. Data d => d -> u) -> GenData -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> GenData -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> GenData -> m GenData gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GenData -> m GenData gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GenData -> m GenData | |
Show GenData Source # | |
Generic GenData | |
FromJSON GenData | |
Defined in SoftFOL.ATC_SoftFOL parseJSON :: Value -> Parser GenData parseJSONList :: Value -> Parser [GenData] | |
ToJSON GenData | |
Defined in SoftFOL.ATC_SoftFOL toEncoding :: GenData -> Encoding toJSONList :: [GenData] -> Value toEncodingList :: [GenData] -> Encoding | |
ShATermConvertible GenData | |
Defined in SoftFOL.ATC_SoftFOL toShATermAux :: ATermTable -> GenData -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [GenData] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, GenData) fromShATermList' :: Int -> ATermTable -> (ATermTable, [GenData]) | |
type Rep GenData | |
Defined in SoftFOL.ATC_SoftFOL type Rep GenData = D1 ('MetaData "GenData" "SoftFOL.Sign" "main" 'False) (C1 ('MetaCons "GenData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AWord) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [GenTerm])) :+: (C1 ('MetaCons "OtherGenData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String)) :+: C1 ('MetaCons "GenFormData" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FormData)))) |
AWord String |
Instances
Data AWord Source # | |
Defined in SoftFOL.Sign gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AWord -> c AWord gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AWord dataTypeOf :: AWord -> DataType dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AWord) dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AWord) gmapT :: (forall b. Data b => b -> b) -> AWord -> AWord gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AWord -> r gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AWord -> r gmapQ :: (forall d. Data d => d -> u) -> AWord -> [u] gmapQi :: Int -> (forall d. Data d => d -> u) -> AWord -> u gmapM :: Monad m => (forall d. Data d => d -> m d) -> AWord -> m AWord gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AWord -> m AWord gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AWord -> m AWord | |
Show AWord Source # | |
Generic AWord | |
FromJSON AWord | |
Defined in SoftFOL.ATC_SoftFOL parseJSON :: Value -> Parser AWord parseJSONList :: Value -> Parser [AWord] | |
ToJSON AWord | |
Defined in SoftFOL.ATC_SoftFOL | |
ShATermConvertible AWord | |
Defined in SoftFOL.ATC_SoftFOL toShATermAux :: ATermTable -> AWord -> IO (ATermTable, Int) toShATermList' :: ATermTable -> [AWord] -> IO (ATermTable, Int) fromShATermAux :: Int -> ATermTable -> (ATermTable, AWord) fromShATermList' :: Int -> ATermTable -> (ATermTable, [AWord]) | |
type Rep AWord | |
Defined in SoftFOL.ATC_SoftFOL type Rep AWord = D1 ('MetaData "AWord" "SoftFOL.Sign" "main" 'False) (C1 ('MetaCons "AWord" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))) |