This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ | |
An immutable structure-like value type for Lua. | |
Sean Heber (sean@fifthace.com) | |
BSD License | |
July, 2017 | |
Written on an iPad using Codea (https://codea.io) | |
I’m pretty new to Lua, but I kept running into situations where I wanted to use a complex value type | |
such as a Point as a key in a table. Unfortunately since each table instance is unique, using a table |