The practical guide I wish existed while learning Effect
This guide explores some concepts from Effect. It's designed to give you a feel for the library as fast as possible.
It's written from my point of view of a casual fp-ts user (i.e.: I use Option and Either but I feel stupid as soon ad Applicative, Functor, Monad, etc are mentioned).
This guide was written before Effect has a website or any documentation by poking at the Effect source code, ZIO docs
Now the website has a very comprehensive documentation. I'm leaving this here to benefit people with shorter attention spans.
Start reading from 001-basic.ts!
- Install the packages in package.json with the package manager of your choice.
(e.g.
npm install
) - Any file in this project can be run with the
run-file
script in package.json (e.g.npm run run-file 001-basic.ts
ornpm run-file 001-basic.ts
). You may also usetsx
directly (npx tsx 001-basic.ts
).
Feel free to open an issue with ideas for improvement, questions, or contributions.
Feel free to open a PR to improve the content.