Skip to content

About

A guide to Effect-TS following the Red Book pedagogy: build from scratch, discover the algebra, name the pattern last.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Effect from First Principles

A guide to Effect-TS following the Red Book pedagogy: build from scratch, discover the algebra, name the pattern last.

Table of Contents

Preface

  • Introduction — What this book is, who it's for, and how to read it

Part I: Foundations

Part II: Error Handling

Part III: Resources and Dependencies

Part IV: Concurrency

Part V: Streams

Part VI: Scheduling and Resilience

Part VII: Unification

The Recurring Pattern

Every chapter discovers the same operations on a new type:

wrap transform chain combine
Option some(a) map flatMap zip
Either right(a) map flatMap zip
Effect succeed(a) map flatMap zip
Stream make(a) map flatMap zip
Schedule succeed(a) map flatMap —
Layer succeed(t,v) — — merge

Prerequisites

  • Comfortable with TypeScript
  • No functional programming background required
  • No prior Effect experience needed

Acknowledgments

Inspired by Functional Programming in Scala (the Red Book) by Paul Chiusano and Rune Bjarnason.

License

This work is licensed under CC BY-SA 4.0.

About

A guide to Effect-TS following the Red Book pedagogy: build from scratch, discover the algebra, name the pattern last.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors