symparsec
Safe HaskellNone
LanguageGHC2021

Symparsec.Parser.TakeWhile

Synopsis

Documentation

data TakeWhile (chPred :: Char ~> Bool) (s :: FunKind PState (PReply Symbol)) Source #

Take zero or more Chars for which the supplied predicate holds.

May also be defined via While chPred TakeRest, but a custom implementation is more efficient.

Instances

Instances details
type App (TakeWhile chPred :: FunKind PState (PReply Symbol) -> Type) (s :: PState) Source # 
Instance details

Defined in Symparsec.Parser.TakeWhile

type App (TakeWhile chPred :: FunKind PState (PReply Symbol) -> Type) (s :: PState)