Closures #3

Open
opened 2021-12-17 13:25:34 +00:00 by aDot · 0 comments
> (define (const x) (lambda (y) x))
< Ok()
> ((const 2) 3)
< Err(RTError("Undefined variable `x`"))

Should be

> (define (const x) (lambda (y) x))
> ((const 2) 3)
2
```lisp > (define (const x) (lambda (y) x)) < Ok() > ((const 2) 3) < Err(RTError("Undefined variable `x`")) ``` Should be ```lisp > (define (const x) (lambda (y) x)) > ((const 2) 3) 2 ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aDot/handball#3
There is no content yet.