Dogma v0.1.16 Dogma.Rule.TakenName

A rule that disallows function or macro names which overrides standard lib.

For example, this is considered valid:

def just_do_it do end

defmacro make_your_dreams_come_true(clause, expression) do end

While this is considered invalid:

def unless do end

defmacro require(clause, expression) do end

Summary

Functions

Callback implementation for c:Dogma.Rule.test/2

Functions

protocol_with_reserved_words()
protocol_with_reserved_words :: %{required([atom]) => atom}
reserved_words()
reserved_words :: MapSet.t
test(rule, script)

Callback implementation for c:Dogma.Rule.test/2.