Building Lists in Scheme

Or, the differences between append, cons, & list from sicp 2.26: Suppose we define x and y to be two lists: (define x (list 1 2 3)) (define y (list 4 5 6)) What’s the output of the following? (append x y) ;; (1 2 3 (4 5 6)) ;; but actually ;; (1 2 3 4 5 6) (cons x y) ;; ((1 2 3) (4 5 6)) ;; but actually ;; ((1 2 3) 4 5 6) (list x y) ;; (1 2 3 4 5 6) ;; but actually ;; ((1 2 3) (4 5 6))

Jan 4, 2019 · Christopher Boette

Teach Yourself CS

⚠️ This project has been superceded by my participation in the Bradfield Computer Science Intensive ⚠️ Following the curriculum suggested at Teach Yourself CS, I’ve started the necessary work of filling in the gaps of my knowledge. This project page serves as a table of contents and repository of my work completed and subjects studied. Programming Text: Structure and Interpretation of Computer Programs Lectures: Brian Harvey at UC Berkeley, course CS 61A Resources: ...

Sep 3, 2018 · Christopher Boette