Skip to content

Instantly share code, notes, and snippets.

@mildred
Created January 24, 2012 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mildred/1670054 to your computer and use it in GitHub Desktop.
Save mildred/1670054 to your computer and use it in GitHub Desktop.
lizzy
#!/usr/bin/env lua
Type = {__index = {}}
function Type.new(self)
return setmetatable({}, self)
end
function Type.__index.declare(self, f)
f()
end
type_t = Type:new()
type_t:declare(function(_ENV)
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment