CS 246 Programming Paradigms
Project #3
Due on Thursday, March 7

 

Implement the code in Chapter 6 of Hudak. Test your code (i.e. compute the perimeters) on the objects sh1, sh2, sh3 and sh4 as defined in Section 4.3 of Hudak.

 

WHAT YOU HAVE TO SUBMIT

1) A print out of all your Haskell code files. Try to write them in a literate style.

2) Output of your program (i.e. preimeters of sh1...sh4)

You should write whatever function(s) needed, if any, to complete the above program.