[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Perform the weekly set up instructions for project 3, homework b.
A file answers.txt with answers to the following questions.
mapcan
as the list mapping operator?
Hint: "nil".
change-vars
.
prove-code
evals a structure called code
that creates
a let
statement which defines some vars
(local variables) then
calls some code expr
. What is going on here?
A revised form of 15.lisp
with:
prove
function. With that extension,
you can have sub-goals in clauses that look like this: "(> ?age1 ?age2)".
Hints:
prove-code
.
prove
.
Remember to return (list binds)
.
with-answer
to find the oldest person
amongst a group of people. Use the following logic:
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on April 19, 2011 using texi2html 5.0.