File: attr-test.lua

package info (click to toggle)
haskell-pandoc-lua-engine 0.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 732 kB
  • sloc: haskell: 4,518; makefile: 3
file content (6 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
function Div (div)
  div.attributes.five = ("%d"):format(div.attributes.two + div.attributes.three)
  div.attributes.two = nil
  div.attributes.one = "eins"
  return div
end