Fixed in commit 01bfd18f.
Thanks!
On Thu, Apr 1, 2021 at 6:19 PM Vasilij Schneidermann
wrote:
> When I've tried porting existing elisp code, I've found that `(defun foo
> nil 1)` errors out (on Guile 3 and master) , but `(defun foo () 1)`
> doesn't. The following patch rectifies this by treatin
When I've tried porting existing elisp code, I've found that `(defun foo
nil 1)` errors out (on Guile 3 and master) , but `(defun foo () 1)`
doesn't. The following patch rectifies this by treating `nil` the same
as `()` when compiling a lambda.
From f3a7bd452e476f5769972ab2cac6da1cf4997c4f Mon Sep
Consider files
foo-runner.scm:
(import (foo)
(scheme write))
(display (bar))
foo.scm:
(define-library (foo)
(import
(scheme base)
(ice-9 regex))
(export bar)
(begin
(define (bar)
(make-regexp "a"
Running this with guile -L . foo-runner.scm, yiel