[plt-scheme] any idea on this please

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Thu Mar 6 21:58:23 EST 2008

So you're a student and you need help again. Where are you going to  
school? -- Matthias



On Mar 6, 2008, at 7:28 AM, james firman wrote:

> sir Good Day :
>
> PLT Schemes
> i used this utility functions i used it to manipulate the stream  
> such as map and filter.
>
> > ( define (inc x) (+ 1 x))
> >(define int (make-stream 0 inc )
> >(define sqr x ))
> > (stream-print (stream-map int sqr) 10)
>    ( 0 1 4 9 16 25 36 49 64 81 ) ...... output
> >( stream-print (stream-filter int odd?) 15 )
> ( 1 3 5 7 9 11 13 15 17 19 21 23 25 27 29)
>
> i have to used the utility functions below
>
> 1. (stream-map stream op)
> 2.(stream-filter stream ok? )
>
> " i used the accessor stream-current and stream-next to access the  
> succeeding stream.
>
>
> Thanks a lot i hope you give us ideas on this :)
>
> More Power ......
>
> Never miss a thing. Make Yahoo your homepage.
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080306/9f0d6e4c/attachment.html>

Posted on the users mailing list.