Computer Science 340
Programming Languages
Fall 2023, Siena College
Lecture 7: Functional Programming and Haskell
Date: Tuesday, September 26, 2023
Agenda
- Announcements
- Grades are posted for Lab 2: More Python for Java Programmers [HTML] [PDF] and Problem Set 1: [PDF]
- Wrap up Lab 3: BNF and Parse Trees as soon as you can
- Problem Set 2: [PDF] due tonight.
- First exam in class one week from today (!)
- just 10% of the final grade
- all classes (up to Lecture 6), readings (up to Section 3.4),
labs (up to 3), and problem sets (up to 2)
- Some reading/writing of Python
- terminology from the first 2 chapters and all of the
questions we talked about at the end of the chapters
- Grammars/BNF/derivations/etc.
- more details coming Thursday
- Programming Language of the Day: Haskell
- Functional programming intro
- Haskell
Terminology
- purely functional programming language
- lazy evaluation
- static typing
- type inference
Examples
Examples will be added in the haskell-examples repository.