Overview

haskell

Haskell

  • Purely Functional Programming Language
  • Lazy Evaluation
  • Statically Typed

Other cool features:

  • Type system with super mighty type inference
  • Currying
  • Concurrent
  • Pattern Matching

Installation

The most commonly used compiler is the Glasgow Haskell Compiler aka GHC. It can be downloaded here.

  • ghc - comiler
  • ghci - interactive haskell shell
    • :l mystuff - load mystuff.hs
    • :r - reload

Learn Haskell

You can first go to http://tryhaskell.org/ and play through the online thingy.

The book for learning haskell - really, you will only want this one - is “Learn You a Haskell for Great Good!” which is available online for free.

Basics

Booleans & Boolean Logic

Functions