List.unwrap/1 <https://github.com/christhekeele/elixir/commit/2a951a8a8a5b5eeb636fe00ca1ce11e8da58bb5f> is a simple compliment to List.wrap/1––it walks a nested list and unwraps any extraneous wrappers it finds, eg: [[:a]] -> [:a].
I mostly find it useful for cleaning up after nested list transforms, but always manage to implement it wrong the first few times, so I thought I'd throw it out there as a general list utility. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/3da5323f-585f-4068-8ef0-1865d3a75fd0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
