local function is(subject)
local queries = {}
-- queries.subject = subject
queries.funkier_than = function(what)
return subject > what
end
return queries
end
assert( not is(1).funkier_than(1) )
assert( is(2).funkier_than(1) )
bG9jYWwgZnVuY3Rpb24gaXMoc3ViamVjdCkKICAgbG9jYWwgcXVlcmllcyA9IHt9CiAgLS0gcXVlcmllcy5zdWJqZWN0ID0gc3ViamVjdAoKICAgcXVlcmllcy5mdW5raWVyX3RoYW4gPSBmdW5jdGlvbih3aGF0KQogICAgICByZXR1cm4gc3ViamVjdCA+IHdoYXQKICAgZW5kCiAgCiAgIHJldHVybiBxdWVyaWVzCmVuZAoKCgphc3NlcnQoIG5vdCBpcygxKS5mdW5raWVyX3RoYW4oMSkgKQphc3NlcnQoIGlzKDIpLmZ1bmtpZXJfdGhhbigxKSAp