The Happy Lambda

The Happy Lambda

Arne Brasseur
This is a sample of the book's content.Buy on Leanpub

Table of Contents

The Happy Lambda

  • 1 Publish early, publish often
    • 1.1 Changelog
  • 2 Introduction
    • 2.1 Evocation
  • 3 Functional Programming
    • 3.1 What vs how
    • 3.2 Functions as first class citizens
    • 3.3 Higher Order Functions
    • 3.4 Lack of mutable state
    • 3.5 Pure functions
    • 3.6 Strict and Lazy Evaluation
    • 3.7 Pros and Cons
  • 4 Building blocks
    • 4.1 Methods and Functions
    • 4.2 Iterators, Enumerables and Enumerators
    • 4.3 Lambdas / procs / blocks
    • 4.4 Lazy enumerators (to be written)
  • 5 Patterns
    • 5.1 Value Object
    • 5.2 Function Object (to be written)
    • 5.3 Functional Core, Imperative Shell (to be written)
    • 5.4 Collections
  • 6 Making Ruby More Functional
    • 6.1 Block and Lambda Arguments
    • 6.2 Converting to Proc
    • 6.3 Dropping the Ampersands
    • 6.4 Function Composition
  • 7 Runtime support
    • 7.1 Applicative vs Lazy evaluation (to be written)
    • 7.2 Frozen (string) literals (to be written)
    • 7.3 Tail recursion / tail call optimization (to be written)
    • 7.4 Garbage Collection (to be written)
  • 8 Glossary
The Happy Lambda/overview

The Happy Lambda

course_overview

count_chapters
begin_reading
download
p_implied_book_part_name

The Happy Lambda8 chapters

Begin ›
  1. 1 Publish early, publish often

  2. 2 Introduction

  3. 3 Functional Programming

  4. 4 Building blocks

  5. 5 Patterns

  6. 6 Making Ruby More Functional

  7. 7 Runtime support

  8. 8 Glossary