pandoc-types 1.9 → 1.9.0.1
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Text.Pandoc.Builder: empty :: Seq a
Files
- Text/Pandoc/Builder.hs +3/−3
- pandoc-types.cabal +1/−1
Text/Pandoc/Builder.hs view
@@ -64,6 +64,7 @@ > import Text.Pandoc.Builder > import Text.JSON > import Control.Arrow ((***))+> import Data.Monoid (mempty) > > -- | Converts a JSON document into 'Blocks'. > json :: String -> Blocks@@ -73,7 +74,7 @@ > Error y -> error y > where jsValueToBlocks x = > case x of-> JSNull -> empty+> JSNull -> mempty > JSBool x -> plain $ text $ show x > JSRational _ x -> plain $ text $ show x > JSString x -> plain $ text $ fromJSString x@@ -87,7 +88,6 @@ module Text.Pandoc.Builder ( module Text.Pandoc.Definition , Inlines(..) , Blocks(..)- , empty , (<>) , Listable(..) -- * Document builders@@ -139,7 +139,7 @@ import Data.String import Data.Monoid import Data.Maybe (fromMaybe)-import Data.Sequence (Seq, (|>), empty, viewr, viewl, ViewR(..), ViewL(..))+import Data.Sequence (Seq, (|>), viewr, viewl, ViewR(..), ViewL(..)) import qualified Data.Sequence as Seq import Data.Foldable (Foldable) import qualified Data.Foldable as F
pandoc-types.cabal view
@@ -1,5 +1,5 @@ Name: pandoc-types-Version: 1.9+Version: 1.9.0.1 Synopsis: Types for representing a structured document Description: This package contains definitions for the 'Pandoc' data structure, which is used by pandoc to represent