patch to generators-impl.scm Per Bothner (10 Jan 2016 02:39 UTC)
Re: patch to generators-impl.scm John Cowan (11 Jan 2016 01:33 UTC)
Re: patch to generators-impl.scm John Cowan (19 Jan 2016 13:22 UTC)

Re: patch to generators-impl.scm John Cowan 11 Jan 2016 01:32 UTC

Per Bothner scripsit:

> It warns at compile-time, and fails at run-time.
> (It probably shouldn't do the latter...)

Definitely it should not.

> So I looked at the offending code.  The attached solution is shorter,
> seems cleaner, and is likely to be more efficient.

I've prepared a patch that solves the problems with this code around
eof-objects, but yours is better and I will adopt it.  Thanks.

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
"But I am the real Strider, fortunately," he said, looking down at them
with his face softened by a sudden smile.  "I am Aragorn son of Arathorn,
and if by life or death I can save you, I will."