Up: Macros [Top][Contents]
enum
(macro enum [& objects] "Create a table mapping OBJECTS to themselves." (collect [_ object (ipairs (table.pack objects))] object object))