diff options
-rw-r--r-- | cabal.project | 5 | ||||
-rw-r--r-- | doc/lua-filters.md | 16 | ||||
-rw-r--r-- | stack.yaml | 3 |
3 files changed, 17 insertions, 7 deletions
diff --git a/cabal.project b/cabal.project index f0365d5da..3d89d63ab 100644 --- a/cabal.project +++ b/cabal.project @@ -5,11 +5,6 @@ constraints: aeson >= 2.0.1.0 source-repository-package type: git - location: https://github.com/pandoc/pandoc-lua-marshal - tag: f81ec19006cc4d0476f199d1fb913bac4af0a0d8 - -source-repository-package - type: git location: https://github.com/jgm/texmath.git tag: 46df85d747f4f233157d3476683264232a4f58be diff --git a/doc/lua-filters.md b/doc/lua-filters.md index af3342826..440d06653 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -3727,6 +3727,22 @@ methods and convenience functions. Returns: a new list containing all elements from list1 and list2 +[`pandoc.List:__eq (a, b)`]{#pandoc.list:__concat} + +: Compares two lists for equality. The lists are taken as equal + if and only if they are of the same type (i.e., have the same + non-nil metatable), have the same length, and if all elements + are equal. + + Parameters: + + `a`, `b`: + : any Lua object + + Returns: + + - `true` if the two lists are equal, `false` otherwise. + ## Methods [`pandoc.List:clone ()`]{#pandoc.list:clone} diff --git a/stack.yaml b/stack.yaml index 492f39cf0..94121b116 100644 --- a/stack.yaml +++ b/stack.yaml @@ -26,6 +26,7 @@ extra-deps: - lua-2.0.2 - tasty-hslua-1.0.0 - tasty-lua-1.0.0 +- pandoc-lua-marshal-0.1.3 - pandoc-types-1.22.1 - commonmark-0.2.1.1 - commonmark-extensions-0.2.2.1 @@ -37,8 +38,6 @@ extra-deps: commit: 46df85d747f4f233157d3476683264232a4f58be - git: https://github.com/jgm/ipynb.git commit: 00246af10885c2ad4413ace4f69a7e6c88297a08 -- git: https://github.com/pandoc/pandoc-lua-marshal - commit: f81ec19006cc4d0476f199d1fb913bac4af0a0d8 - git: https://github.com/jgm/commonmark-hs commit: 4d460b206e0b1872376db86cadf7a4567eeddaed subdir: commonmark-pandoc |