mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-20 23:01:30 +03:00
0860144eff
The ByteString and Text instances for Stream now live in the Prim module.
25 lines
691 B
Haskell
25 lines
691 B
Haskell
-----------------------------------------------------------------------------
|
|
-- |
|
|
-- 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
|
|
--
|
|
-- Convinience definitions for working with 'Text.Text'.
|
|
--
|
|
-----------------------------------------------------------------------------
|
|
|
|
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
|