NOTE: This page is for an old offering of the course. To find the latest course offering, please visit https://comp311.rice.edu/.
COMP 311: Functional Programming (Fall 20152016)
Instructor | Dr. Eric Allen Dr. Corky Cartwright | Graduate TAs |
|
---|---|---|---|
Co-Instructor | Dr. Sağnak Taşırlar | Undergraduate TAs |
|
Lectures | Lecture Times | 28:30PM 00AM - 39:45PM 15AM TR | |
Course Email | comp311@ricecomp311_staff@rice.edu | Online Discussion | Piazza -- Rice Comp 311 |
Description
Grading will be based on your performance on weekly programming assignments. All work in this class is expected to be your own, and you are expected not to post your solutions or share your work with other students, even after you have taken the course. Please read the Comp 311 Honor Code Policy for more details on how you are expected to work on your assignments.
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.
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 .
General Information
Lecture Schedule (Subject to Change Without Notice)
Conditional Functions on Ranges, Point Values, and Compound Datatypes
Semantics of Type Checking, Binary Methods, Abstract Datatypes
For Expressions, Monads, The Environment Model of Reduction
Call-by-Name, Environment Model of Type Checking, Generative RecursionHomework Evaluation, DrScala, Tests, Objects, Binary Methods, Operators
Week | Day | Date | Topic | Work Assigned | Work Due | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Tues | Aug 2523 | |||||||||||||||
Thur | Aug 25 | What are Types, Core Scala | Hwk 0 | ||||||||||||||
2 | ThurTues | Aug | 2730 | The Nature of 2 | |||||||||||||
Tues | Thurs | Sep | 0101 | Functions on Ranges, Point Values | Type Checking, Conditional Functions, Compound Datatypes | ||||||||||||
3 | Thurs | Tues | Sep | 0306 | , Tests, Binary Methods, OperatorsHwk 1 | ||||||||||||
3 | TuesThur | Sep 08 | Abstract Datatypes | Hwk 1 | |||||||||||||
4 | Tues | Sep 13 | |||||||||||||||
| Thur | Sep | 1015 | Exceptions, OverloadingHwk 1 | |||||||||||||
5 | Tues | Sep | 1520 | Datatypes | |||||||||||||
| ThurThurs | Sep | 1722 | FirstClass | Hwk 2 | Hwk 1 | |||||||||||
6 | Tues | Sep | 2227 | , Covariance | |||||||||||||
| ThursThur | Sep | 24Checking Variance, For-29 | ||||||||||||||
7 | Tues | Sep 29Oct 04 | Translating For | -Expressions, Monads, The Environment Model | |||||||||||||
| Thurs | Thur | Oct | 01Lexical vs Dynamic Scoping, Call-by-Name, Traits 106 | Hwk 3 | Hwk 2 | |||||||||||
8 | Tues | Oct | 06Generative Recursion 111 | MIDTERM RECESS | |||||||||||||
| ThursThur | Oct | 08Generative Recursion 213 | ||||||||||||||
9 | Tues | Oct | 13MIDTERM RECESS18 | Call-by-Name, Type Environments, Generative Recursion | |||||||||||||
|
| Thur | Oct | 15Guest Lecture (TBA)20 | Hwk 4 | Hwk 3 | |||||||||||
10 | Tues | Oct | 2025 | Tail Recursion and ||||||||||||||
| Thur | Oct | 22Comprehensions and flatMap27 | ||||||||||||||
11 | Tues | Oct 27Nov 01 | MapReduce | Higher Order Functions | |||||||||||||
| Thur | Oct 29 | Functional Leftist Heaps and Binomial HeapsNov 03 | Hwk 5 | Hwk 4 | ||||||||||||
12 | Tues | Nov | 03Functional Red-Black Trees08 | ||||||||||||||
| Thur | Nov | 05Programs as Proofs10 | 12 | |||||||||||||
13 | Tues | Nov | 10Variable Assignment and the Environment Model15 | ||||||||||||||
| Thur | Nov | 12Mutable Objects, Equality17 | Hwk 6 | Hwk 5 | ||||||||||||
14 | Tues | Nov | 17Distributed Computing with Apache Spark22 | Project Fortress | |||||||||||||
| Thur | Nov | 19Distributed Machine Learning | 14 | Tues | Nov24 | Guest Lecture (TBA) |
| Thur | Nov 26 | THANKSGIVING | ||||||
15 | Tues | Dec 01 | Nov 28 | Functional Distributed ComputingPipelines and SparkML | |||||||||||||
Thur | Dec 0301 | Course Wrap Up | Hwk 6 |