Skip to content

Latest commit

 

History

History
23 lines (21 loc) · 2.27 KB

macros.md

File metadata and controls

23 lines (21 loc) · 2.27 KB

Macros

Macros for faster and easier development. Sugar for your code.

  • anaphora - Anaphora is the anaphoric macro collection for Elixir. An anaphoric macro is one that deliberately captures a variable (typically it) from forms supplied to the macro.
  • apix - Simple convention and DSL for transformation of elixir functions to an API for later documentation and or validation.
  • eventsourced - Build functional, event-sourced domain models.
  • exceptional - Helpers for happy-path programming & exception handling.
  • expat - Simple pattern generator for matching on elixir quoted expressions.
  • guardsafe - Macros expanding into code that can be safely used in guard clauses.
  • happy - Happy path programming, alternative to elixir with form.
  • kwfuns - Macros to create functions with syntax based keyword parameters with default values.
  • lineo - parse transform for accurate line numbers.
  • mdef - Easily define multiple function heads in Elixir.
  • named_args - Allows named arg style arguments in Elixir.
  • ok_jose - Pipe elixir functions that match {:ok,_}, {:error,_} tuples or custom patterns.
  • pattern_tap - Macro for tapping into a pattern match while using the pipe operator.
  • pipe_here - Easily pipe values into any argument position.
  • pipe_to - The enhanced pipe operator which can specify the target position.
  • pipes - Macros for more flexible composition with the Elixir Pipe operator.
  • pit - Transform values as they flow inside a pipe.
  • rebind - rebind parse transform for Erlang.
  • rulex - Simple rule handler using Elixir pattern matching.