; Load this file into an interactive session with: ; python3 scheme -i quiz08.scm ; Returns the predicate expression of a cond clause (define (predicate clause) 'YOUR-CODE-HERE ) ; Returns the consequent expression of a cond clause (define (consequent clause) 'YOUR-CODE-HERE ) ; Returns the first clause of a cond form (define (first-clause expr) 'YOUR-CODE-HERE ) ; Returns all clauses but the first of a cond form (define (rest-clauses expr) 'YOUR-CODE-HERE ) ; Takes in a single cond form and returns an equivalent nested structure of if ; forms. You may assume that there are no nested cond forms inside of the main ; one, that each clause has a single consequent, and that the last clause is an ; else clause. (define (cond-to-if expr) 'YOUR-CODE-HERE )