pelemay v0.0.5 Analyzer

Provides optimizer for anonymous functions.

Link to this section Summary

Functions

Check if expressions can be optimzed.

Link to this section Types

Link to this type

asm()

asm() :: %{args: [any()], operators: [atom()]}

Link to this section Functions

Link to this function

polynomial_map(ast)

Link to this function

supported?(other)

supported?(Macro.t()) :: asm()

Check if expressions can be optimzed.

When the expression is enable to optimize, {:ok, map} is returned. The map is shape following: %{args: , operators: }.