Witchcraft v1.0.0-beta.2 Witchcraft View Source

Top level module

Hierarchy

Semigroupoid  Semigroup  Setoid   Foldable   Functor -----------┐
     ↓           ↓         ↓         ↓     ↙   ↓   ↘           |
  Category     Monoid     Ord    Traversable  Apply  Bifunctor  |
     ↓                                       ↙    ↘             ↓
   Arrow                            Applicative   Chain       Extend
                                             ↘    ↙             ↓
                                             Monad           Comonad

use Wicthcraft

There is a convenient use macro to import all functions in the library.

use Witchcraft

This recursively calls use on all children modules.

Any options passed to use will be passed down to all dependencies.

use Witchcraft, execpt: [right_fold: 2]

If you would like to not override the functions and operators from Kernel, you can pass the special option override_kernel: false.

use Witchcraft, override_kernel: false

This same style of use is also available on all submodules, and follow the dependency chart (above).