bishbosh-0.1.4.0: Plays chess.
Safe HaskellNone
LanguageHaskell2010

BishBosh.Text.Poly

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Exports functions to enhance the package polyparse.
Synopsis

Types

Type-synonyms

type TextParser = Parser Char Source #

Self-documentation.

Functions

char :: Char -> TextParser () Source #

Matches the specified char.

string :: String -> TextParser () Source #

  • Matches the specified string.
  • N.B. this differs from Text.Parse.word in that there's no requirement for the string to be a single Haskell lexical token.

spaces :: TextParser () Source #

  • Matches any number (including zero) of consecutive spaces.
  • CAVEAT: performance-hotspot.

unsignedDecimal :: Num i => TextParser i Source #

Parses an unsigned base-10 integer.