chickadee » srfi-189 » either-ref

either-ref either failure #!optional successprocedure

If either is a Right, tail-calls the procedure success on the values of its payload and returns the result. Otherwise, it tail-calls the procedure failure on the values of its payload and returns the result. The default value of success is values.