Why not use streams? http://docs.racket-lang.org/reference/streams.html

Justin
On Apr 9, 2015 11:22 AM, "Jerry Jackson" <[email protected]> wrote:

> Hello,
>
> I'm building a language with racket that includes lazy lists. I'm building
> lazy lists with mcons cells. The compatibility/mlist module has lots of
> support functions but I'd like to be able to apply racket functions to the
> lists I've constructed and I don't see any "mapply". I understand that the
> use of mutable cons cells is discouraged but I don't currently know of a
> better way to do lazy lists. If there is a different recommended way, I'd
> like to know about it. If not:
>
> 1) Is there an equivalent of mapply that I just haven't found or
> 2) Is there a reason it's a really bad idea or
> 3) Was it just left out because nobody so far needed it?
>
> Thanks for any help,
>
> --Jerry Jackson
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to