Skip to content

Commit 2dc58d4

Browse files
committed
Remove pandoc prefix on table components
See jgm/pandoc#8574
1 parent 15ad818 commit 2dc58d4

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/Text/Pandoc/Lua/Marshal/Cell.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ peekCellFuzzy idx = liftLua (ltype idx) >>= \case
5454

5555
-- | Cell object type.
5656
typeCell :: LuaError e => DocumentedType e Cell
57-
typeCell = deftype "pandoc Cell"
57+
typeCell = deftype "Cell"
5858
[ operation Eq $ defun "__eq"
5959
### liftPure2 (\a b -> fromMaybe False ((==) <$> a <*> b))
6060
<#> parameter (optional . peekCell) "Cell" "self" ""

src/Text/Pandoc/Lua/Marshal/Row.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ peekRowFuzzy idx = liftLua (ltype idx) >>= \case
4747

4848
-- | Row object type.
4949
typeRow :: LuaError e => DocumentedType e Row
50-
typeRow = deftype "pandoc Row"
50+
typeRow = deftype "Row"
5151
[ operation Eq $ defun "__eq"
5252
### liftPure2 (\a b -> fromMaybe False ((==) <$> a <*> b))
5353
<#> parameter (optional . peekRow) "Row" "self" ""

src/Text/Pandoc/Lua/Marshal/TableFoot.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ peekTableFoot = peekUD typeTableFoot
3232

3333
-- | Row object type.
3434
typeTableFoot :: LuaError e => DocumentedType e TableFoot
35-
typeTableFoot = deftype "pandoc TableFoot"
35+
typeTableFoot = deftype "TableFoot"
3636
[ operation Eq $ defun "__eq"
3737
### liftPure2 (\a b -> fromMaybe False ((==) <$> a <*> b))
3838
<#> parameter (optional . peekTableFoot) "TableFoot" "self" ""

src/Text/Pandoc/Lua/Marshal/TableHead.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ peekTableHead = peekUD typeTableHead
3232

3333
-- | Row object type.
3434
typeTableHead :: LuaError e => DocumentedType e TableHead
35-
typeTableHead = deftype "pandoc TableHead"
35+
typeTableHead = deftype "TableHead"
3636
[ operation Eq $ defun "__eq"
3737
### liftPure2 (\a b -> fromMaybe False ((==) <$> a <*> b))
3838
<#> parameter (optional . peekTableHead) "TableHead" "self" ""

0 commit comments

Comments
 (0)