Is [1,2] valid output of List.wrap? If it's not in the range of output, I
think we could error on it as input to List.unwrap.

Exactly once might be correct semantics, will have to play with some
examples.

On Sun, Sep 25, 2016, 3:46 PM Chris Keele <d...@chriskeele.com> wrote:

> If List.unwrap([1]) = 1, how would you handle List.unwrap([1, 2])? [1, 2]
> would be inconsistent. That’s more of a splat/unquote_splicing operation.
>
> --
> 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/CAOtzO5KD_BtWo1pkoZOCxPRJ-jqCc8H3p3kqm3AzKFXi5d%2B%3DOg%40mail.gmail.com
> <https://groups.google.com/d/msgid/elixir-lang-core/CAOtzO5KD_BtWo1pkoZOCxPRJ-jqCc8H3p3kqm3AzKFXi5d%2B%3DOg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAOMhEnwu0v%2B-GyT8_QWtLxxCtkiOT7GrowAgY81w0mbtgygbfw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to