1. 6
  1.  

    1. 5

      Those interested in Lua + ADTs might find LunarML, a Standard ML to Lua (& JavaScript) compiler, of interest.

      1. 4

        I think your presentation of the library (the README) could be improved by including the implementation instead of merely saying:

        How? With a tagging function. […] Tags are implemented by setting the __call metamethod on a table.

        Sure, some people will click the source code and have a look themselves, but probably less than 10%. Given that the implementation is only 12 lines of code, I think it’s a missed opportunity to inform people about the features of Lua that enable such a neat trick!

        1. 1

          You’re right :) Thanks, fixed.