previous | index | next

A Movie Filtering Predicate

This predicate returns true if a movie was made in 1974:
     (lambda (movie) (= (movie-year-made movie) 1974))
Use this predicate in a filter:
     (filter (lambda (movie) (= (movie-year-made movie) 1974))
             our-movie-database)

     ⇒ (((amarcord) 
         (federico fellini) 
         1974 
         ((magali noel) (bruno zamin) (pupella maggio) (armando drancia))))

previous | index | next