Moved Text.ParserCombinators.Pandoc ->

Text.Pandoc.ParserCombinators.  This way, all the
Pandoc modules are in one place.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@663 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2007-07-09 03:39:25 +00:00
parent 622d4e5223
commit 655363da51
6 changed files with 14 additions and 15 deletions

View file

@ -15,27 +15,27 @@ Description: Haskell utilities for translating between markdown, HTML,
reStructuredText, LaTeX, DocBook, groff man, and RTF
Build-Depends: base, parsec, xhtml, mtl, regex-compat
Hs-Source-Dirs: src
Exposed-Modules: Text.ParserCombinators.Pandoc,
Text.Pandoc,
Exposed-Modules: Text.Pandoc,
Text.Pandoc.ASCIIMathML,
Text.Pandoc.Blocks,
Text.Pandoc.Definition,
Text.Pandoc.Entities,
Text.Pandoc.ParserCombinators,
Text.Pandoc.Shared,
Text.Pandoc.UTF8,
Text.Pandoc.Blocks,
Text.Pandoc.Writers.DefaultHeaders,
Text.Pandoc.Writers.Docbook,
Text.Pandoc.Writers.HTML,
Text.Pandoc.Writers.LaTeX,
Text.Pandoc.Writers.Man,
Text.Pandoc.Writers.Markdown,
Text.Pandoc.Writers.LaTeX,
Text.Pandoc.Writers.RST,
Text.Pandoc.Writers.S5,
Text.Pandoc.Writers.RTF,
Text.Pandoc.Writers.S5,
Text.Pandoc.Readers.HTML,
Text.Pandoc.Readers.LaTeX,
Text.Pandoc.Readers.Markdown,
Text.Pandoc.Readers.RST,
Text.Pandoc.Readers.LaTeX
Text.Pandoc.Readers.RST
Ghc-Options: -O0
Executable: pandoc

View file

@ -17,7 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-}
{- |
Module : Text.ParserCombinators.Pandoc
Module : Text.Pandoc.ParserCombinators
Copyright : Copyright (C) 2006-7 John MacFarlane
License : GNU GPL, version 2 or above
@ -25,9 +25,9 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Stability : alpha
Portability : portable
Special parser combinators for Pandoc readers.
Parser combinators used in Pandoc readers.
-}
module Text.ParserCombinators.Pandoc (
module Text.Pandoc.ParserCombinators (
anyLine,
many1Till,
notFollowedBy',
@ -122,4 +122,3 @@ lineClump = do
blanks <- blanklines <|> (do{eof; return "\n"})
return ((unlines lines) ++ blanks)

View file

@ -41,7 +41,7 @@ module Text.Pandoc.Readers.HTML (
) where
import Text.ParserCombinators.Parsec
import Text.ParserCombinators.Pandoc
import Text.Pandoc.ParserCombinators
import Text.Pandoc.Definition
import Text.Pandoc.Shared
import Text.Pandoc.Entities ( characterEntity, decodeEntities )

View file

@ -34,7 +34,7 @@ module Text.Pandoc.Readers.LaTeX (
) where
import Text.ParserCombinators.Parsec
import Text.ParserCombinators.Pandoc
import Text.Pandoc.ParserCombinators
import Text.Pandoc.Definition
import Text.Pandoc.Shared
import Data.Maybe ( fromMaybe )

View file

@ -33,7 +33,7 @@ module Text.Pandoc.Readers.Markdown (
import Data.List ( findIndex, sortBy, transpose, isSuffixOf, intersect, lookup )
import Data.Char ( isAlphaNum )
import Text.ParserCombinators.Pandoc
import Text.Pandoc.ParserCombinators
import Text.Pandoc.Definition
import Text.Pandoc.Readers.LaTeX ( rawLaTeXInline, rawLaTeXEnvironment )
import Text.Pandoc.Shared

View file

@ -31,7 +31,7 @@ module Text.Pandoc.Readers.RST (
readRST
) where
import Text.Pandoc.Definition
import Text.ParserCombinators.Pandoc
import Text.Pandoc.ParserCombinators
import Text.Pandoc.Shared
import Text.Pandoc.Readers.HTML ( anyHtmlBlockTag, anyHtmlInlineTag )
import Text.Regex ( matchRegex, mkRegex )