I would drop the `mapper` function, and have a similar interface to 
`Enum.min/2`: `DateTime.earliest(list_of_dates, empty_fallback // fn -> 
raise(...) end)`.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/d479dd77-f26d-41ca-91c0-5b02e34cfbeb%40googlegroups.com.

Reply via email to