Skip to content

SebastianMuskalla/IntroductionToFunctionalProgramming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction to functional programming in Haskell

This is material for an introduction to functional programming on Haskell, with a focus on monads. It was originally created for a series of 4 talks (~360 minutes) that were held in the context of a lecture on semantics by Roland Meyer and Jürgen Koslowski at Technische Universität Braunschweig in the summer of 2018.

Semantics - Summer 2018 @ Technische Universität Braunschweig

Lecture material

Code examples / Explanation

Basic

  1. Values and types

  2. Functions

  3. Lists

Advanced concepts

  1. Higher-order functions

  2. Types

  3. Type classes

  4. Lazy evaluation

  5. The pitfalls of type inference

Monads

  1. IO in functional languages

  2. Monads

  3. do notation

  4. Examples of monads

  5. Parsing using monads

  6. The monads State and ST

Note: The code has been tested using GHC version 8.10.7 on Windows 10 version 21H2.

License

Copyright 2022 Sebastian Muskalla

Published under the MIT License, see LICENSE

About

Introduction to functional programming in Haskell

Resources

License

Stars

Watchers

Forks