File: simple.lua

package info (click to toggle)
lua-ldoc 1.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 928 kB
  • sloc: makefile: 63; ansic: 56
file content (12 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
------------
-- A little old-style module
local io = io
-- we'll look for this
module 'simple'

-- if it were 'module (...)' then the name has to be deduced.

--- return the answer.
function answer()
  return 42
end