chickadee » srfi-189 » generation->either

generation->maybe objprocedure
generation->either obj fail-objs ...procedure

If obj is an end-of-file object, return Nothing / a Left of fail-objs. Otherwise, return obj wrapped in a Just/Right.

☞ The following procedures interface between the Maybe and Either protocols and the values protocol, which returns one or more values to represent success and zero values to represent failure.