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 a condition of kind (exn type assertion) is raised if maybe-expr does not evaluate to a Maybe.