From dd483e481c5cb5e2bf5aa7fba21bdb1a2d85fc9c Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 19 Mar 2024 22:20:42 -0500 Subject: Remove need for `lambda` to include an implicit `begin` This way i can write begin in terms of lambda --- base.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'base.lua') diff --git a/base.lua b/base.lua index 9c5b5b7..6dc71e4 100644 --- a/base.lua +++ b/base.lua @@ -5,14 +5,6 @@ local type = require "type" local isNull = type.isNull base.env = { - begin = - function (r) - local r = r - while not isNull(r.cdr) do - r = r.cdr - end - return r.car - end, ["+"] = function (r) local r, a = r, 0 -- cgit 1.4.1-21-gabe81