Exun.Cyclic (exun v0.1.0)

Link to this section Summary

Functions

Get a list of variables down a tree, checking cyclic definition from 'context' user defs

Check cyclic definitins in 'context', a map that holds values like %{"f" => "x^2+2*x+3"}. If you pass a cyclic map this function detects it, for example: %{"a"=>"b", "b"=>"c", "c"=>"a"}

Recursively expands defs and find variables on what definitions depends.

Select only vars

Initial parse of definitions in map 'context'

Link to this section Functions

Get a list of variables down a tree, checking cyclic definition from 'context' user defs

Link to this function

check_definitions(context)

Check cyclic definitins in 'context', a map that holds values like %{"f" => "x^2+2*x+3"}. If you pass a cyclic map this function detects it, for example: %{"a"=>"b", "b"=>"c", "c"=>"a"}

Link to this function

check_expand(maps, prev_maps)

Recursively expands defs and find variables on what definitions depends.

Link to this function

extract_vars(arg1, acu)

Select only vars

Link to this function

maps_all(context)

Initial parse of definitions in map 'context'