Re: specification of STREAM-UNFOLDN generators Matthias Neubauer 05 Aug 2003 10:05 UTC

Michael Sperber <xxxxxx@informatik.uni-tuebingen.de> writes:

> >>>>> "Matze" == Matthias Neubauer <xxxxxx@informatik.uni-freiburg.de> writes:
>
> Matze> Additionally, #f feels more like signaling "the end" to me
> Matze> ... :-)
>
> More so than '(), the literal for what's officially called the "empty
> list"?

Yeah, definitely!

Note that the result we are returning here is *not* the result stream
per se; it rather specifies the *new elements* that we want to prepend
to the result stream.

So, this case is more like a typical error case, saying something like
"Dude, you have to stop prepending to the result stream ..."

I always thought cases like this are typically signaled by #f in
Scheme, aren't they?

-Matthias

--
Matthias Neubauer                                       |
Universität Freiburg, Institut für Informatik           | tel +49 761 203 8060
Georges-Köhler-Allee 79, 79110 Freiburg i. Br., Germany | fax +49 761 203 8052