From 520acd39795766354fc44c6e15f5f33f255ca33a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 16 Jan 2019 21:33:02 -0800 Subject: Overhauling OO-API a little to make it more minimalistic. --- containers.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'containers.lua') diff --git a/containers.lua b/containers.lua index 2cb8e49..5b406de 100644 --- a/containers.lua +++ b/containers.lua @@ -45,7 +45,7 @@ nth_to_last = function(self, n) return self[#self - n + 1] end local _list_mt = { - __type = "List", + __type = "a List", __eq = function(self, other) if not (type(other) == 'table' and getmetatable(other) == getmetatable(self) and #other == #self) then return false @@ -252,7 +252,7 @@ List = function(t) end end local _dict_mt = { - __type = "Dict", + __type = "a Dict", __eq = function(self, other) if not (type(other) == 'table' and getmetatable(other) == getmetatable(self)) then return false -- cgit v1.2.3