chickadee » srfi-189 » maybe->generation

maybe->generation maybeprocedure
either->generation eitherprocedure

If maybe/either is a Just/Right, then its payload is returned. It is an error if the Just/Right does not have exactly one value. If maybe/either is Nothing / a Left, then an end-of-file object is returned.