COMP 311: Functional Programming (Fall 2015)
Instructor | Dr. Eric Allen | TAs |
|
---|---|---|---|
Lectures | Lecture Times | 2:30PM - 3:45PM TR | |
Course Email | comp311@rice.edu | Online Discussion | Piazza -- Rice Comp 311 |
Description
General Information
Course Syllabus | |||||||||||||
Homework Submission Guide | |||||||||||||
Office Hours |
| ||||||||||||
Textbooks | There is no required textbook. We will follow the pedagogic approach of "How to Design Programs" but in a typed context. We will also draw material from a variety of sources, including:
| ||||||||||||
Development Environment | The DrScala Pedagogic IDE is recommended for all homework assignments in this course. |
Lecture Schedule (Subject to Change Without Notice)
Week | Day | Date | Topic | Work Assigned | Work Due |
---|---|---|---|---|---|
1 | Tues | Aug 25 | |||
Thur | Aug 27 | The Nature of Doubles, The Design Recipe | |||
2 | Tues | Sep 01 | Type Checking, Compound Datatypes, Tests, Errors | ||
| Thur | Sep 03 | Scoping and Imports, Programs, DrScala | Hwk 1 | |
3 | Tues | Sep 08 | Conditional Functions, Abstract Datatypes, Case Classes | ||
Thur | Sep 10 | Syntax and Semantics of Core Scala | Hwk 2 | Hwk 1 | |
4 | Tues | Sep 15 | Pattern Matching, The Expression Problem | ||
| Thur | Sep 17 | Options, Lists, The Natural Numbers | Hwk 3 | Hwk 2 |
5 | Tues | Sep 22 | Binary Search Trees | ||
| Thurs | Sep 24 | Complexity Analysis | Hwk 4 | Hwk 3 |
6 | Tues | Sep 29 | Functions as Values, Polymorphic Functions, Call-by-Name | ||
| Thur | Oct 01 | Referential Transparency, Exceptions and Continuations | Hwk 5 | Hwk 4 |
7 | Tues | Oct 06 | Generative Recursion 1 | ||
| Thurs | Oct 08 | Generative Recursion 2 | Hwk 5 | |
8 | Tues | Oct 13 | MIDTERM RECESS | ||
| Thur | Oct 15 | Guest Lecture (TBA) | ||
9 | Tues | Oct 20 | Tail Recursion and Accumulators | ||
| Thur | Oct 22 | Comprehensions and flatMap | Hwk 6 | |
10 | Tues | Oct 27 | Map, Reduce, Higher Order Functions | ||
| Thur | Oct 29 | Functional Leftist Heaps and Binomial Heaps | Hwk 7 | Hwk 6 |
11 | Tues | Nov 03 | Functional Red-Black Trees | ||
| Thur | Nov 05 | Programs as Proofs | Hwk 8 | Hwk 7 |
12 | Tues | Nov 10 | Variable Assignment and the Environment Model | ||
| Thur | Nov 12 | Mutable Objects, Equality | Hwk 9 | Hwk 8 |
13 | Tues | Nov 17 | Distributed Computing with Apache Spark | ||
| Thur | Nov 19 | Distributed Machine Learning | Hwk 10 | Hwk 9 |
14 | Tues | Nov 24 | Guest Lecture (TBA) | ||
| Thur | Nov 26 | THANKSGIVING | ||
15 | Tues | Dec 01 | Pipelines and SparkML | ||
Thur | Dec 03 | Course Wrap Up | Hwk 10 |
Grading, Honor Code Policy, Processes and Procedures
Grading will be based on your performance on weekly programming assignments.
In this course, all students will be held to the standards of the Rice Honor Code, a code that you pledged to honor when you matriculated at this institution. If you are unfamiliar with the details of this code and how it is administered, you should consult the Honor System Handbook. This handbook outlines the University's expectations for the integrity of your academic work, the procedures for resolving alleged violations of those expectations, and the rights and responsibilities of students and faculty members throughout the process.
Homework Submissions: All submitted homework submissions and presentations are expected to be the result of your team’s effort. All essays are expected to be the result of your individual effort. You are free to discuss course material and approaches to problems with your other classmates, the teaching assistants and the professor, but you should never misrepresent someone else’s work as your own. If you use any material from external sources, you must provide proper attribution.
Accommodations for Students with Special Needs
Students with disabilities are encouraged to contact me during the first two weeks of class regarding special needs. Students with disabilities should also contact Disabled Student Services in the Ley Student Center and the Rice Disability Support Services.