Witchcraft
is a library providing common algebraic and categorical abstractions to Elixir
Monoids, functors, monads, arrows, categories, and other dark magic right at your fingertips.
README
Table of Contents
- Quick Start
- Library Family
- Values
- Type Class Hierarchy
- Writing Class Instances
- Operators
- Haskell Translation Table
- Prior Art and Further Reading
- Credits
Quick Start
def deps do
[{:witchcraft, "~> 1.0"}]
end
# ...
use Witchcraft
Library Family
Quark TypeClass
β β
Witchcraft
β
Algae
Values
Beginner Friendliness
You shouldn't have to learn another language just to understand powerful abstractions By enabling people to use a language that they already know, and is already in the same ballpark in terms of values (emphasis on immutability, &c), we can teach and learnβ¦