Advertisement
Guest User

Untitled

a guest
May 25th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. defmodule CC do
  2. defmodule A do
  3. defstruct players: []
  4. end
  5.  
  6. defmodule B do
  7. def join(%A{} = x), do: IO.inspect x
  8. end
  9. end
  10.  
  11. CC.B.join(%A{})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement