sicp-ex-4.74



<< Previous exercise (4.73) | Index | Next exercise (4.75) >>


meteorgan

  
  
 (a) 
 (define (simple-flatten stream) 
    (stream-map stream-car    
                          (stream-filter (lambda (s) (not (stream-null? s))) stream))) 
 (b) 
 no. the order of stream will not change the result.