Transform a function containing a cases call into one that instead has if-statements.

transform_cases_function(fun)

Arguments

fun

A function

Value

Another function with a transformed body

See also

cases