1 cs 116 fall 2012 assignment 04 due at 400 pm monday

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ons where appropriate. Language level: Advanced Student Coverage: Module 4 Language level: Advanced Student Scheme The following structures are used on this assignment: (define-struct neighbour (before value after)) ;; A neighbour is a structure (make-neighbour b v a), ;; where b,v,a can be any values. 1 CS 116 Fall 2012 Assignment 04 Due at 4:00 pm Monday, October 15th 1. In this question, you will complete two Scheme functions. Complete the Scheme function part-A, which assigns values to these variables to match the following picture: x make-X 10 y 10 r s neighbour before 0 value 10 after 0 neighbour before value after t 0 10 0 The interface includes definitions for all the variables – be sure to include these definitions in your code, and do not add any more variable definitions. The function part-A consumes no parameters and produces (void). When following the design recipe for this question...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online