eksperimental
unread,Jan 13, 2021, 10:38:34 PM1/13/21Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to elixir-l...@googlegroups.com
I am working on a protocol, and I need to have access to the module
that implements the protocol. For example, `Enumerable.List`.
It is actually mentioned in the documentation, but I would like to know
whether this is an implementation detail or a non-documented standard
that I can rely on. In case it is an implementation detail, a function
like Protocol.impl(protocol_module, implementation_module) would be
desired.
iex> Protocol.impl(Enumerable, List)
Enumerable.List
Thank you.