This is a fairly straightforward (though a bit long) for comprehension:

for {room_id, room} <- data,
      {date, obj} <- room,
      stuff = obj["important_stuff"],
      {child_id, child} <- stuff,
      child_id != "id" do
  %{
      room_id: room_id,
      date: date,
      ...
   }
end

On Tue, Jul 26, 2016, 9:45 PM Sam Hains <[email protected]> wrote:

> That should read:  triple nested Enum.each ****
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-talk" 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-talk/44849237-d460-4760-ad3d-4ced90c9f96c%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-talk/44849237-d460-4760-ad3d-4ced90c9f96c%40googlegroups.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-talk" 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-talk/CAOMhEnxRpaT_0S-eMVUkcJ5cLS47Eixr0H2or4URJpcy2mARHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to