Delegate v0.2.0 Delegate View Source

Provides utilities for delegating macros and entire functions and macros of another module.

All macros can be included with use Delegate.

The following functionalities are provided:

  • defmacrodelegate behaves like defdelegate but for macros (at compile time)
  • defdelegateall creates delegates for all functions of the delegated module
  • defmacrodelegateall creates delegates for all macros of the delegated module
  • defmoduledelegate which creates delegates for all macros and all functions of the delegated module