Functional programs are easier to develop and reason about than their imperative counterparts. This makes them an ideal vehicle for the exploration of data structures and modularisation. Even if you don't plan to use a functional language in the future, this course provides the solid foundations for algorithm design and software reuse in any programming paradigm.
|5th September 2016||Oxford University Department of Computer Science||09 places remaining.|
|13th February 2017||Oxford University Department of Computer Science||07 places remaining.|
|12th February 2018||Oxford University Department of Computer Science||18 places remaining.|
At the end of the course, students will have seen a variety of different techniques that may be used to structure problems and their solutions. They will gain new perspectives on algorithms, data design, and functional abstraction.
- base types; tuples; program structure: selection and recursion; ad-hoc and parametric polymorphism.
- reduction strategies; order of evaluation; lazy versus eager and strict versus non-strict.
- pattern matching; recursion over lists; proof by induction; folds and accumulation.
- Higher-order features:
- function application and composition; type inference; currying; higher-order functions.
- Data structures:
- recursion patterns; trees; arrays; sets; dictionaries.
The course assumes some familiarity with discrete mathematics: Software engineering mathematics would be a suitable preparation.