diff options
Diffstat (limited to 'containers.moon')
| -rw-r--r-- | containers.moon | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/containers.moon b/containers.moon index 29e31c4..3e7b1a8 100644 --- a/containers.moon +++ b/containers.moon @@ -24,7 +24,7 @@ nth_to_last = (n)=> @[#@-n+1] -- used in Nomsu. This way, they retain a notion of whether they were originally lists or dicts. _list_mt = - __type: "List" + __type: "a List" __eq: (other)=> unless type(other) == 'table' and getmetatable(other) == getmetatable(@) and #other == #@ return false @@ -107,7 +107,7 @@ List = (t)-> else error("Unsupported List type: "..type(t)) _dict_mt = - __type: "Dict" + __type: "a Dict" __eq: (other)=> unless type(other) == 'table' and getmetatable(other) == getmetatable(@) return false |
