mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-27 02:02:42 +03:00
41 lines
850 B
Haskell
41 lines
850 B
Haskell
-----------------------------------------------------------------------------
|
|
-- |
|
|
-- Module : Text.ParserCombinators.Parsec.Char
|
|
-- Copyright : (c) Paolo Martini 2007
|
|
-- License : BSD-style (see the LICENSE file)
|
|
--
|
|
-- Maintainer : derek.a.elkins@gmail.com
|
|
-- Stability : provisional
|
|
-- Portability : portable
|
|
--
|
|
-- Parsec compatibility module
|
|
--
|
|
-----------------------------------------------------------------------------
|
|
|
|
module Text.ParserCombinators.Parsec.Char
|
|
( CharParser,
|
|
spaces,
|
|
space,
|
|
newline,
|
|
tab,
|
|
upper,
|
|
lower,
|
|
alphaNum,
|
|
letter,
|
|
digit,
|
|
hexDigit,
|
|
octDigit,
|
|
char,
|
|
string,
|
|
anyChar,
|
|
oneOf,
|
|
noneOf,
|
|
satisfy
|
|
) where
|
|
|
|
|
|
import Text.Parsec.Char
|
|
import Text.Parsec.String
|
|
|
|
type CharParser st = GenParser Char st
|