Problem Set 10

home work!

Programming Language ISL+

Purpose

Problem 1 Edit your Centipede project once again. Be sure to fix any and all problems that your graders have (or would have) discovered.

Since you have a new partner, note that you can now work from two independent code bases: your solution and his. Read them over, take the good ideas and drop the bad ones.

Next, you are to use local and "loops" (abstractions such as map, foldr, filter, etc.) wherever your functions may benefit from them, especially for the lists of objects in your project. You may also use lambda terms in place of locally-named helper functions, if you wish. Update signatures to use [List-of X] in place of BSL style data definitions.

You should notice that the length of your program decreases considerably.

Note: you should remove templates from your code before you hand it in. (Templates are handy for developing code, but do not need to appear in the final program.)