%{oncall: "dlong",overrideoncall: "jsmith",...}
Map.get_lazy(on_call_group, :overrideoncall, &(&1[:oncall]))
--
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-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/719dc4fc-ae23-4437-b059-d91356e9b43b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
That's not entirely accurate. In my case I was using a series of pipes so I did not have access to the map. My case might be very niche, though.
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-core" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-core/JuAZnOXpo5Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4J7dZWROSBnBU7Ayn%3DhQGphp_ciFZTRf83XscDTQQ2z3w%40mail.gmail.com.
Hi Ben,
My issue is specific to pipes. What I'm ultimately doing is taking a JSON object, parsing it with Poison.decode!, And then attempting to pull a single key out, either overrideoncall or oncall.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/9f0334d6-c484-454e-8fe7-d236e2804f45%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAPkhLiTqYyUahLNn%2BwGcO-bLyJHHQvapoHfX1MWwMUDCx9%2BsaQ%40mail.gmail.com.
That's not entirely accurate. In my case I was using a series of pipes so I did not have access to the map. My case might be very niche, though.