office: FAB 120-02
office hours: Tue-Thu 3:45 PM & by appointment
class time and location: see the Schedule
This course provides an introduction to functional logic programming throught its basic ideas, foundations and implementation techniques. FLP combines the distinctive features of functional programming (algebraic data types, lazy evaluation, polymorphic typing, first-class functions, monadic I/O) and logic programming (logic variables, non-determinism, search) seamlessly through narrowing and residuation. The course will address three kinds of questions: Why are these features useful? What is their underlying theory? How can they be implemented? Lectures will be augmented with weekly programming assignments in Curry, a leading functional logic language. Exercises will serve both to illustrate the use of the language and to illuminate the underlying theory and implementation issues. Prior exposure to functional or logic programming will be useful, but is not required.Prerequisites
CS558 Programming Languages.Format
Regular lectures. Weekly assigned readings. Weekly homework exercises in Curry using the PAKCS (Curry) programming environment. Comprehensive final exam.Goal
Students will be given considerable latitude in focusing either on the theory or the practice and/or in exploring research opportunities in this area. Students are expected to learn the main concepts of declarative programming, to understand the key principles on which functional logic programming is based, to know one or more functional logic languages, and to be able to translate problems into programs in these languages.Course materials
- Class notes, lecture slides, assignments, various links.
- Curry Tutorial, an on-line "in progress" document discussing the key features of the Curry programming language.
- PAKCS distribution, a freely downloadable compiler/interpreter of Curry. It requires SWI Prolog or SICStus Prolog.
- Examples of functional logic programs.
- Advanced functional logic programming.
- Rewriting homepage
Last update Thu Jan 10 13:12:30 PST 2008