CurryInfo: smtlib-3.0.0 / Language.SMTLIB.Parser.parseSort

definition:
parseSort :: SMTParser SMT.Sort
parseSort = Parser $ \tokens -> case tokens of
  []          -> (runParser eof) tokens
  Id s   : ts -> Right (ts, SMT.SComb s [])
  LParen : ts -> (runParser (return SMT.SComb <*> parseSym <*> some parseSort
                   <*  terminal RParen)) ts
  t      : ts -> (runParser (unexpected t)) ts
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- parser for sorts
failfree:
()
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> _}
name:
parseSort
precedence:
no precedence defined
result-values:
_
signature:
ParserComb.Parser Language.SMTLIB.Scanner.Token Language.SMTLIB.Types.Sort
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term