X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=exercises%2Fassignment12.mdwn;h=f2ddbe3ca86422b6b3ccd173c655aa30a442815c;hp=58e5096a0498bc492c2ce7791b2ccb11cb4d7660;hb=32d727c71c51e47206d727cc7c7a00c0053ded61;hpb=63c32fa4bcb81ad65d403cc42652efbed9e6517f diff --git a/exercises/assignment12.mdwn b/exercises/assignment12.mdwn index 58e5096a..f2ddbe3c 100644 --- a/exercises/assignment12.mdwn +++ b/exercises/assignment12.mdwn @@ -325,6 +325,7 @@ You can think of `int_stream` as a functional object that provides access to an Okay, now armed with the idea of a stream, let's use a Scheme version of them to handle the same-fringe problem. This code is taken from . It uses thunks to delay the evaluation of code that computes the tail of a list of a tree's fringe. It also involves passing "the rest of the enumeration of the fringe" as a thunk argument (`tail-thunk` below). Your assignment is to fill in the blanks in the code, **and also to supply comments to the code,** to explain what every significant piece is doing. Don't forget to supply the comments, this is an important part of the assignment. + This code uses Scheme's `cond` construct. That works like this; (cond