packages feed

pandoc-lua-marshal 0.1.1 → 0.1.2

raw patch · 3 files changed

+10/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -2,6 +2,13 @@  `pandoc-lua-marshal` uses [PVP Versioning][]. +## 0.1.2++Released 2021-12-10.++-   Restored backward compatible retrieval of Rows. Cells can be+    either a userdata value or a table.+ ## 0.1.1  Released 2021-12-10.
pandoc-lua-marshal.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.4 name:                pandoc-lua-marshal-version:             0.1.1+version:             0.1.2 synopsis:            Use pandoc types in Lua description:         This package provides functions to marshal and unmarshal                      pandoc document types to and from Lua.
src/Text/Pandoc/Lua/Marshal/TableParts.hs view
@@ -30,7 +30,7 @@ import Text.Pandoc.Lua.Marshal.Attr (peekAttr, pushAttr) import {-# SOURCE #-} Text.Pandoc.Lua.Marshal.Block   ( peekBlocksFuzzy, pushBlocks )-import Text.Pandoc.Lua.Marshal.Cell (peekCell, pushCell)+import Text.Pandoc.Lua.Marshal.Cell (peekCellFuzzy, pushCell) import {-# SOURCE #-} Text.Pandoc.Lua.Marshal.Inline   ( peekInlinesFuzzy, pushInlines ) import Text.Pandoc.Lua.Marshal.List (pushPandocList)@@ -78,7 +78,7 @@ peekRow :: LuaError e => Peeker e Row peekRow = (uncurry Row <$!>)   . retrieving "Row"-  . peekPair peekAttr (peekList peekCell)+  . peekPair peekAttr (peekList peekCellFuzzy)  -- | Pushes a 'TableBody' value as a Lua table with fields @attr@, -- @row_head_columns@, @head@, and @body@.