ulisp icon indicating copy to clipboard operation
ulisp copied to clipboard

closures print weird in assoc list

Open dragoncoder047 opened this issue 1 year ago • 1 comments

> (let ((b 24)) (cons 'x (lambda (a) (print b) 42)))
(x closure ((b . 24)) (a) (print b) 42)

Ideally, should be

(x . <closure>)

but I'm not sure how to fix this.

dragoncoder047 avatar Jun 20 '24 18:06 dragoncoder047

I feel that there are more important things to fix in uLisp. Perhaps I should make a list of them some time!

technoblogy avatar Jun 20 '24 19:06 technoblogy