diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-10-01 15:42:00 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-10-01 15:42:00 -0700 |
commit | fb0d6c7cb63a791fa72becf21ed493282e65ea91 (patch) | |
tree | 5041a742bd53fd8d88d267106c283d3c80f820ab /src/Text/Pandoc/Lua/Marshaling | |
parent | 021cdb543b00995f86eefd5d84314d9e1f5abf82 (diff) | |
download | pandoc-fb0d6c7cb63a791fa72becf21ed493282e65ea91.tar.gz |
Depend on pandoc-types 1.23, remove Null constructor on Block.
Diffstat (limited to 'src/Text/Pandoc/Lua/Marshaling')
-rw-r--r-- | src/Text/Pandoc/Lua/Marshaling/AST.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Lua/Marshaling/AST.hs b/src/Text/Pandoc/Lua/Marshaling/AST.hs index 8e12d232c..a1ad2cda3 100644 --- a/src/Text/Pandoc/Lua/Marshaling/AST.hs +++ b/src/Text/Pandoc/Lua/Marshaling/AST.hs @@ -165,7 +165,6 @@ pushBlock = \case LineBlock blcks -> pushViaConstructor "LineBlock" blcks OrderedList lstAttr list -> pushViaConstructor "OrderedList" list (LuaListAttributes lstAttr) - Null -> pushViaConstructor "Null" Para blcks -> pushViaConstructor "Para" blcks Plain blcks -> pushViaConstructor "Plain" blcks RawBlock f cs -> pushViaConstructor "RawBlock" f cs @@ -189,7 +188,6 @@ peekBlock idx = defineHowTo "get Block value" $! do "OrderedList" -> (\(LuaListAttributes lstAttr, lst) -> OrderedList lstAttr lst) <$!> elementContent - "Null" -> return Null "Para" -> Para <$!> elementContent "Plain" -> Plain <$!> elementContent "RawBlock" -> uncurry RawBlock <$!> elementContent |