Yep yep, and I do already have such a function that returns such a function, I'm more curious in having something like `some_prop_list[:a}` work transparently though so I can thread options into and out of erlang libraries regardless of if proplist/map/kwlist?
On Thursday, October 12, 2017 at 8:38:15 AM UTC-6, José Valim wrote:
Can't you define your own Access.prop(:foo) though?
José Valim
Founder and Director of R&D
I took a quick look in Access and I'm not seeing a protocol or anything that can be done to support erlang property lists in Access without wrapping them in a struct (which would of course add in a lot more code than would otherwise be needed to access them straight, but what about the cases where any of map/kwlist/proplist can be accessed). How can an end-user add support for erlang property lists in Access?
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.