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
check(context)
Get a list of variables down a tree, checking cyclic definition from 'context' user defs
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"}
check_expand(maps, prev_maps)
Recursively expands defs and find variables on what definitions depends.
extract_vars(arg1, acu)
Select only vars
maps_all(context)
Initial parse of definitions in map 'context'