Let's discuss some of the homework. (I've posted my solutions.)
I've posted the next homework assignment, starting two new sections of the book (2.1, 1.3) and learning some new syntax .
First, a new (and more general way to create functions:
Second, a way to define local variables :
It turns out that you can define
let in terms of
as explained in the text (and the example here) ... and which I've asked you to describe in the homework.
And finally, we want to start looking at data structures , not just numbers and strings.
The (awkwardly named) functions in scheme are :
which it turns out we can combine in all sorts of ways. Some of which are more "standard"
in lisp than others.
We'll work through some examples in class.
Some other places to read about this stuff :
possible class exercise :
... to continue working through the book & the exercises.