chickadee » srfi-189 » list->just

list->just listprocedure
list->left listprocedure
list->right listprocedure

Returns a Just / Left / Right whose values are the elements of list. Note that these procedures are not monadic; they are equivalent to just/left/right but accept a list rather than multiple arguments. There is no need for list->nothing distinct from nothing.