Open eitoball opened 5 years ago
defmodule の中で defstruct を定義するので、同じモジュールの中でつい書いてしまうんですよね… Elixir の場合、意図的にこういう使い方を許すためにこのようにしたのかなぁと思っている。
defmodule
defstruct
defmodule
の中でdefstruct
を定義するので、同じモジュールの中でつい書いてしまうんですよね… Elixir の場合、意図的にこういう使い方を許すためにこのようにしたのかなぁと思っている。