2011-10-08 22:17:18 +04:00
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
-- |
|
|
|
|
-- Module : Text.Parsec.String
|
|
|
|
-- Copyright : (c) Antoine Latter 2011
|
|
|
|
-- License : BSD-style (see the file libraries/parsec/LICENSE)
|
|
|
|
--
|
|
|
|
-- Maintainer : aslatter@gmail.com
|
|
|
|
-- Stability : provisional
|
|
|
|
-- Portability : portable
|
|
|
|
--
|
2014-04-09 23:01:24 +04:00
|
|
|
-- Convinience definitions for working with 'Text.Text'.
|
2011-10-08 22:17:18 +04:00
|
|
|
--
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
module Text.Parsec.Text
|
|
|
|
( Parser, GenParser
|
|
|
|
) where
|
|
|
|
|
|
|
|
import qualified Data.Text as Text
|
|
|
|
import Text.Parsec.Error
|
|
|
|
import Text.Parsec.Prim
|
|
|
|
|
|
|
|
type Parser = Parsec Text.Text ()
|
|
|
|
type GenParser st = Parsec Text.Text st
|