What if learning was in scope?
A solid foundation built not just for use—but for understanding, mastery, and real growth.
Add Funx to your mix.exs
dependencies:
Then run: mix deps.get
Don't just read—practice. Use Livebooks to experiment, try patterns with live code, and check your understanding.
Launch LivebooksEvery module includes comprehensive usage rules designed specifically for LLMs. Your AI assistant can explain, not just suggest—keeping answers grounded in your code context.
These modules are ordered so each builds on the last. Start with Eq/Ord, then move through monoids, predicates, and monads.
Define what "equal" means for your domain:
Structured ordering without built-in operators:
Encapsulate computations and chain operations while handling different concerns:
Optional data with Just
and Nothing
Two possibilities with Left
and Right
Deferred execution with error handling
Pass environment for dependency injection
Thread logs alongside results using monoids
Simple wrapper for organizing transformations
Combine values with associative operations and identity elements: