Build the FunPark

Skip the typing and run the FunPark code examples from the book directly in your browser. Each notebook corresponds to a chapter, letting you build along as you read.

A convenient companion to your book reading experience.

FunPark Admission Ticket

Chapter 1: Domain Modeling

Model the domain – rides, patrons, fast passes

Launch

Chapter 2: Equality with Eq

Implement flexible equality with Eq

Launch

Chapter 3: Ordering with Ord

Express sorting and comparison with Ord

Launch

Chapter 4: Monoids

Combine with associative monoids

Launch

Chapter 5: Predicates

Build composable logic with predicates

Launch

Chapter 6: Monads

Sequence operations using monads

Launch

Chapter 7: Reader Monad

Inject context with the Reader monad

Launch

Chapter 8: Maybe

Model optional data with Maybe

Launch

Chapter 9: Either

Handle success and failure with Either

Launch

Chapter 10: Effect

Combine async + error handling with Effect

Launch

Running Locally with Docker

For groups of notebooks or offline usage, you can run them locally:

git clone https://github.com/JKWA/funpark_notebooks.git
cd funpark_notebooks
docker compose up

Then open http://localhost:8090

Password: funpark_12char