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
Functions
Re-implements Kernel.is_boolean/1
.
Link to this section Functions
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.