chickadee » srfi-189 » maybe-if

(maybe-if maybe-expr just-expr nothing-expr)syntax

Equivalent to (if (just? maybe-expr) just-expr nothing-expr), except that an error satisfying error-object? is signaled if maybe-expr does not evaluate to a Maybe.