Fixed in commit 01bfd18f.

Thanks!

On Thu, Apr 1, 2021 at 6:19 PM Vasilij Schneidermann <mail@vasilij.de> 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 treating `nil` the same
as `()` when compiling a lambda.