Module riak_pipe_fun

Utilities for dealing with anonymous funs.

Description

Utilities for dealing with anonymous funs. This is most useful for upgrading from older pipes using funs to newer pipes using modfun tuples.

Function Index

compat_apply/2Attempt to evaluate Fun(Inputs...).

Function Details

compat_apply/2

compat_apply(Fun, Inputs) -> any()

Attempt to evaluate Fun(Inputs...). If the evaluation throws a badfun error, ask the module that defines the function for an alternate implementation, by calling Module:compat_fun/1, and then evaluates that instead.


Generated by EDoc, Sep 17 2012, 17:05:43.