Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- defmodule CC do
- defmodule A do
- defstruct players: []
- end
- defmodule B do
- def join(%A{} = x), do: IO.inspect x
- end
- end
- CC.B.join(%A{})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement