54 |
> that the bug is fixed at this time. probably we can find a way to provide |
> that the bug is fixed at this time. probably we can find a way to provide |
55 |
> `bound?' and yet not use SCM_UNDEFINED. that would maintain continuation |
> `bound?' and yet not use SCM_UNDEFINED. that would maintain continuation |
56 |
> and honor the spirit of the change that introduced the bug (encapsulation). |
> and honor the spirit of the change that introduced the bug (encapsulation). |
57 |
|
|
58 |
|
2002-04-28 mvo sez (explaining how to handle things without bound?): |
59 |
|
|
60 |
|
> You can do this easily when defining such a function. I.e. |
61 |
|
> |
62 |
|
> (define not-provided (cons* 'not-provided)) |
63 |
|
> |
64 |
|
> (define* (foo :optional (bar not-provided)) |
65 |
|
> (if (eq? not-provided bar) |
66 |
|
> ...)) |