This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Homework 5 CIS 252 (Spring 2011) Introduction to Computer Science Coverage This assignment covers material through Chapter 7 of Haskell: The Craft of Functional Programming . Logistics This homework is officially due in class by Thursday, February 24 . However, it comes with an automatic extension: anything submitted by 1pm on Friday, February 25 will be accepted as being on time. You may work singly or in pairs on this assignment. What to turn in For each of the problems, provide: (i) a contract, (ii) a purpose statement, (iii) examples, (iv) the definition, and (v) tests. The grade for each problem will based on the standard homework grading criteria, see: http://www.cis. syr.edu/courses/cis252/info/hw-policy.html#crit:hw . Turn in a hard copy of your source code and a transcript demonstrating convinc- ingly that your code is correct. Also submit your code electronically . Exercises 1. Odds and ends. Via a recursion, define a function ends :: String -> [String] that given a String , returns the list of all the suffixes of that String ....
View Full Document
- Spring '11
- Functional Programming