Skip to content

Interactive Elixir notebooks and examples for the Funx library. Includes Livebook sessions, Docker setup, and code from the “Fun Park” chapters to explore functional programming concepts in Elixir.

Notifications You must be signed in to change notification settings

JKWA/funpark_notebooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FunPark Interactive Examples

Interactive notebooks for Advanced Functional Programming with Elixir.

Chapters

Launch Description
▶️ Chap 1 Model the domain – rides, patrons, fast passes
▶️ Chap 2 Implement flexible equality with Eq
▶️ Chap 3 Express sorting and comparison with Ord
▶️ Chap 4 Combine with associative monoids
▶️ Chap 5 Build composable logic with predicates
▶️ Chap 6 Sequence operations using monads
▶️ Chap 7 Inject context with the Reader monad
▶️ Chap 8 Model optional data with Maybe
▶️ Chap 9 Handle success and failure with Either
▶️ Chap 10 Combine async + error handling with Effect

Running Locally with Docker (Optional)

If you want to run the notebooks in your local Docker environment, follow these steps:

  1. Clone this repository:

    git clone https://github.com/JKWA/funpark_notebooks.git
    cd funpark_notebooks
  2. Start Livebook using Docker Compose:

    docker compose up
  3. Open your browser to http://localhost:8090

  4. Login password:

    funpark_12char
    

I prefer running groups of notebooks locally using Docker, but for most users, the launch links above are the fastest way to explore each chapter.

Ecosystem

  • Advanced Functional Programming with Elixir — a book that provides the structured learning path and theory.
  • Interactive Livebooks — notebooks for every chapter, runnable in your browser or with Docker.
  • Funx library — universal functional patterns in Elixir, with usage rules for LLMs.
  • Learn Funx — a practice environment for using your LLM as a tutor.
  • Discord — community space to discuss Advanced Functional Programming with Elixir (the book), the Funx library, and Learn Funx.

About

Interactive Elixir notebooks and examples for the Funx library. Includes Livebook sessions, Docker setup, and code from the “Fun Park” chapters to explore functional programming concepts in Elixir.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages