In addition to what Wojtek said and this being a breaking change, you can
pattern match on the empty list vs [head | tail] directly, without the
overhead of calling a function to just pattern match on ok/error.

-- 
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/CAGnRm4JQPn44es-gRnj1hHx1yhbiDo%3DYOUytGBZa27RHk1euRw%40mail.gmail.com.

Reply via email to