View Source Matcha.Rewrite.Kernel (Matcha v0.1.7)

Replacements for Kernel functions when rewriting Elixir into match specs.

These are versions that play nicer with erlang's match spec limitations.

Link to this section Summary

Link to this section Functions

Link to this macro

is_boolean(value)

View Source (macro)

Re-implements Kernel.is_boolean/1.

The original simply calls out to :erlang.is_boolean/1, which is not allowed in match specs. Instead, we re-implement it in terms of things that are.