Haskell without the theory
1.0

Contents:

  • Introduction
  • Setting up your Haskell development environment
  • Built-in types and functions
  • Lambdas and higher-order functions
  • Laziness, function currying, function composition, & other knick-knacks
Haskell without the theory
  • Docs »
  • Haskell without the theory
  • View page source

Haskell without the theory¶

Important

Before you start diving-in, please read the following sections to navigate this book effectively:

  1. Do not skip the exercises
  2. Highlight & comment freely with Hypothes.is

Contents:

  • Introduction
    • Yet another book? Really?
    • How is this different?
    • So, “One book to rule them all”?
    • Help me keep this alive
    • How to use this book effectively
  • Setting up your Haskell development environment
    • Pre-requisities
    • Installing Haskell
    • Quick primer on Stack
    • Installing an editor
    • Get used to GHCi before you start
    • Make sure you are reading the correct docs
    • Hackage vs Stackage & Cabal vs Stack
  • Built-in types and functions
    • Setup your git repository & stack project
    • Get used to GHCi before you start
    • Learning Goal
    • Basic data-types
    • Basic operators
    • Play around in GHCi
    • Defining functions
    • “if-then-else”
    • Getting stuff done without loops & without variables
    • Before you start the exercises
    • Exercises
    • Stuff that you might struggle with
  • Lambdas and higher-order functions
    • Learning goal
    • You have probably used lambdas before
    • Why are lambdas needed
    • Lambdas in Haskell
    • Commonly used higher-order functions in Haskell
    • Exercises
    • Stuff that you might struggle with
  • Laziness, function currying, function composition, & other knick-knacks
    • Lazy evaluation
    • where bindings
    • where vs let
    • $ operator
    • Function currying
    • Function composition (.)
Next

© Copyright 2017, Saurabh Nanda.

Built with Sphinx using a theme provided by Read the Docs.