add anchor
authorjim <jim@web>
Thu, 30 Apr 2015 16:36:00 +0000 (12:36 -0400)
committerLinux User <ikiwiki@localhost.members.linode.com>
Thu, 30 Apr 2015 16:36:00 +0000 (12:36 -0400)
exercises/assignment12.mdwn

index 58e5096..f2ddbe3 100644 (file)
@@ -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 <http://c2.com/cgi/wiki?SameFringeProblem>. 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.
 
+<a id=scheme></a>
 This code uses Scheme's `cond` construct. That works like this;
 
     (cond