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
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 elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/44849237-d460-4760-ad3d-4ced90c9f96c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/20160729153309.7e557ad9%40ArchPierre2.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/151BBF7E-59C6-45F4-9DA3-5D7C214FCD80%40gmx.com.