traverse v0.1.6 Traverse.Macros

Useful shortcuts for traversal and structure functions.

Link to this section Summary

Functions

Very often, traversal and structure functions need to distinguish on this type of argument, e.g

Link to this section Functions

Link to this macro is_scalar(x) (macro)

Very often, traversal and structure functions need to distinguish on this type of argument, e.g.

  fn ...
     (ele, acc) when is_scalar(ele) -> some_update(ele, acc)