CoALP-0.0.6: Coalgebraic logic programming library

Safe HaskellNone
LanguageHaskell2010

CoALP.Parser.Parser

Synopsis

Documentation

parse :: String -> Either String Program1

Parse program

parseWithCount :: String -> Either String (Program1, Integer)

Parse program, obtain next variable counter

parseClause :: String -> Either String Clause1

Parse single clause