diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2020-01-11 20:35:56 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2020-01-11 21:31:20 +0100 |
commit | 4ede11a75f37bb35d384fc9ce95231671e18acf3 (patch) | |
tree | 3cea18e0917625473d95ce9c02847a9bcbc93078 /src/Text/Pandoc/Readers/RST.hs | |
parent | 23d81081d0d69c59ee3861bb4b7fb132efa03d6b (diff) | |
download | pandoc-4ede11a75f37bb35d384fc9ce95231671e18acf3.tar.gz |
Lua: add methods `insert`, `remove`, and `sort` to pandoc.List
The functions `table.insert`, `table.remove`, and `table.sort` are added
to pandoc.List elements. They can be used as methods, e.g.
local numbers = pandoc.List {2, 3, 1}
numbers:sort() -- numbers is now {1, 2, 3}
Diffstat (limited to 'src/Text/Pandoc/Readers/RST.hs')
0 files changed, 0 insertions, 0 deletions