traverse v0.1.0 Traverse.Tools

Summary

Functions

Utility to trace your traversals by passing your traversal function to this trace_wrapper

Types

t_simple_walker_fn :: (any, any -> any)
t_traceable_fn ::
  (any -> any) |
  (any, any -> any) |
  (any, any, any -> any)

Functions

make_trace_fn(fun)

Specs

make_trace_fn(t_traceable_fn) :: t_traceable_fn

Utility to trace your traversals by passing your traversal function to this trace_wrapper.

Instead of passing f you can pass make_trace_fn(f) as long as f is of the correct type.

This wrapper will trace the actual arguments and the return value to stderr.