(let ((be values)) (when values (yield) *unspecified*) (if values (do () (not (values be quit)))))
On 16.04.2022 18:49, Jean Abou Samra wrote:
> (let ((be values))
> (when values
> (yield)
> *unspecified*)
> (if values
> (do ()
> (not
> (values be quit)))))
>
>
Could not execute.
Variable 'yield' unbound.
A missing import?
;-)
(it's a haiku)
--
Taylan
You may use abort-to-prompt to implement yield ;-)
On Sun, Apr 17, 2022, 10:40 Taylan Kammer <taylan.kammer@gmail.com> wrote:
> On 16.04.2022 18:49, Jean Abou Samra wrote:
> > (let ((be values))
> > (when values
> > (yield)
> > *unspecified*)
> > (if values
> > (do ()
> > (not
> > (values be quit)))))
> >
> >
>
> Could not execute.
> Variable 'yield' unbound.
> A missing import?
>
> ;-)
>
>
> (it's a haiku)
>
> --
> Taylan
>
>
> Could not execute.
> Variable 'yield' unbound.
> A missing import?
It would appear that the (ice-9 threads) module is loaded by default in
the REPL, even though it is not in scripts.