chickadee » srfi-189 » two-values->maybe

two-values->maybe producerprocedure

This procedure is the inverse of maybe->two-values. It invokes producer with no arguments. If the second value is true, the first value is wrapped in a Just and returned; otherwise, Nothing is returned.