Skip to content

scarvalhojr/tasteofhaskell

Repository files navigation

A Taste of Haskell

A quick introduction to the Haskell programming language.

Online at https://scarvalhojr.github.io/tasteofhaskell

Outline

  • Getting Started with Stack
  • Part 1
    • Haskell's main features
    • Values and functions
    • Built-in types, function types, type inference
    • Operators
    • Lists, lazy evaluation, tuples
    • Hoogle
    • slides
    • exercises
  • Part 2
    • Polymorphic types, typeclass constraints
    • Built-in typeclasses, type inference
    • Currying, high-order functions
    • Processing lists
    • Defining functions, conditional expressions, guards
    • Pattern matching, where declarations, let expressions
    • Lambda expressions
    • slides
    • exercises
  • Part 3
    • Imports and comments
    • Function application and the $ operator
    • Function composition operator, pointfree style
    • List comprehension, recursive functions
    • Folds
    • Type, data declarations
    • Recursive types
    • Instance declarations and derived instances
    • slides
    • exercises

Where to Go from Here?

Suggested materials for further learning:

Credits