alehander92 / gara

MIT License
103 stars 4 forks source link

Table support #10

Open alehander92 opened 5 years ago

alehander92 commented 5 years ago
match(a):
of {"e": 2, "f": 5}:
  # just a table: any kind, OrderedTable or HashTable
of {"e": @e, "f": @f}:
  # capturing values is easy, just get it with a["e"], no key capturing
of {"e": 2, *_}:
  # for now this only