I was wondering if it is possible to find all the modules that have implementations for a particular module?
I have a simple protocol:
defprotocol Ep.PerformTest do @doc "Should return tupple {out, time}" def test(struct) end
And a few modules that have implementations of this protocol:
defmodule Ep.Test.Rexcpp do defstruct [:input, :code, :output] def displayName(), do: "Rextester C++" defimpl Ep.PerformTest, for: Ep.Test.Rexcpp do def test(struct) do end end end
elixir protocols
Haito
source share