Dogma v0.1.16 Dogma.Rule.PipelineStart

A rule that enforces that function chains always begin with a bare value, rather than a function call with arguments.

For example, this is considered valid:

"Hello World"
|> String.split("")
|> Enum.reverse
|> Enum.join

While this is not:

String.split("Hello World", "")
|> Enum.reverse
|> Enum.join

Summary

Functions

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

Functions

test(rule, script)

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