chickadee » srfi-189 » list-truth->maybe

list-truth->maybe list-or-falseprocedure
list-truth->either list-or-false obj ...procedure

If list-or-false is #f, returns Nothing / a Left of objs; otherwise, wraps the list elements in a Just/Right and returns it.

☞ The following procedures interface between the Maybe and Either protocols and the generation protocol, which uses an end-of-file object to represent failure and any other value to represent success.