pandoc-types 1.8 → 1.8.0.2
raw patch · 2 files changed
+13/−4 lines, 2 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Text/Pandoc/Builder.hs +6/−2
- pandoc-types.cabal +7/−2
Text/Pandoc/Builder.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE TypeSynonymInstances #-}+{-# LANGUAGE TypeSynonymInstances, FlexibleInstances #-} {- Copyright (C) 2010 John MacFarlane <jgm@berkeley.edu> @@ -332,4 +332,8 @@ simpleTable :: [Blocks] -- ^ Headers -> [[Blocks]] -- ^ Rows -> Blocks-simpleTable = table empty []+simpleTable headers = table empty (mapConst defaults headers) headers+ where defaults = (AlignDefault, 0)++mapConst :: Functor f => b -> f a -> f b+mapConst = fmap . const
pandoc-types.cabal view
@@ -1,5 +1,5 @@ Name: pandoc-types-Version: 1.8+Version: 1.8.0.2 Synopsis: Types for representing a structured document Description: This package contains definitions for the 'Pandoc' data structure, which is used by pandoc to represent@@ -25,7 +25,12 @@ Copyright: (c) 2006-2010 John MacFarlane Category: Text Build-type: Simple-Cabal-version: >=1.2+Cabal-version: >=1.6++Source-repository head+ type: git+ location: git://github.com/jgm/pandoc-types.git+ Library Exposed-modules: Text.Pandoc.Definition Text.Pandoc.Generic