Mex (mex v0.0.6)

Summary

Functions

Call with a do..end block, preceded by an optional parameter

Display the expansion of a node side-by-side in env, expanded by expanders, a list of anonymous expansion functions.

Functions

Link to this function

by_column_count(i)

Link to this function

expand_all(n, env)

Link to this macro

mex(num \\ 0, rest)

(macro)

Call with a do..end block, preceded by an optional parameter:

  • a number 1-3, to limit number of expansions to show side by side
  • a single named expander, one of :none, :once, :expand, :all

If you'd like to compare the output of your own expanders side by side, see Mex.pp_compare.

Link to this function

no_expansion(node, env)

Link to this function

pp_compare(node, env, expanders)

Display the expansion of a node side-by-side in env, expanded by expanders, a list of anonymous expansion functions.

Link to this function

set_width(num_chars)

See Mex.CLI.set_width/1.

Link to this function

try_expansions(node, env, fns)