Idris2Doc : Text.ILex.FS

Text.ILex.FS

(source)

Reexports

importpublic FS
importpublic Text.ILex

Definitions

appLast : (p : P1qea) ->PIxp->PSTp->Maybe (PStepp) ->F1q (Eitherea)
  Tries to read the last token of an input stream and
append it to the already accumulated list of tokens.

Totality: total
Visibility: export
streamParse : Has (ParseErrore) es=>ELift1qf=> (prs : P1q (BoundedErre) a) ->HasPosition (prs.state) =>Origin->PullfByteStringesx->Pullfaesx
  Converts a stream of byte strings to a list of tokens of
type `a`.

This can be used with any non-backtracking parsers, but for large
amounts of data, the mutable parser stack must accumulate completely
parsed values and emit them after every chunk of bytes has been
processed.

Totality: total
Visibility: export
streamVal : Has (ParseErrore) es=>ELift1qf=> Lazy a-> (prs : P1q (BoundedErre) a) ->HasPosition (prs.state) =>HasBytes (prs.state) =>Origin->StreamfesByteString->Pullfoesa
Totality: total
Visibility: export