>
>
To be clear the functionality would be:
>
> DateTime.earliest(enumerable, mapper \\ fn x -> x end)
>
> with a typespec like
>
> @spec earliest(Enum.t(), (any() -> t())) :: list()
>
> right?
>

Correct.
-- 


*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

-- 
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/CAGnRm4Ls9bOHupH%2BG8AyVxoUP9Xgr_9zdRm97N4MHZ3%2B3cKusg%40mail.gmail.com.

Reply via email to