Re: A modest Scheme poem ...

2022-04-18 Thread Jean Abou Samra
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.

Re: A modest Scheme poem ...

2022-04-16 Thread Nala Ginrut
You may use abort-to-prompt to implement yield ;-) On Sun, Apr 17, 2022, 10:40 Taylan Kammer wrote: > On 16.04.2022 18:49, Jean Abou Samra wrote: > > (let ((be values)) > > (when values > > (yield) > > *unspecified*) > > (if values > > (do () > > (not > >

Re: A modest Scheme poem ...

2022-04-16 Thread Taylan Kammer
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) --

A modest Scheme poem ...

2022-04-16 Thread Jean Abou Samra
(let ((be values))   (when values     (yield)     *unspecified*)   (if values   (do ()     (not (values be quit)