Opaque types
Make values precise without paying a runtime cost.
For intermediate Scala developers who already know the syntax and want working answers for the problems that arrive in a real codebase.
Get the complete cookbook →
It won't make you a category theory scholar or walk you through a toy “hello world.” It is a complete cookbook: a problem, the right tool, a real example you can adapt, and a note about where it bites.
Use it when you need to model a domain where illegal states should not compile—or ship an http4s service with JWT auth before Thursday.
Focused, self-contained recipes for the patterns that show up in a production Scala codebase. Dip in whenever there is a problem on your desk.
Make values precise without paying a runtime cost.
Model the states your system can actually be in.
Validate at the boundary and keep invalid data out.
“Working knowledge you can use on Monday morning.”
The complete cookbook is available now on Leanpub.
Get the cookbook →