blob: 97d29143a95815457871783e5e7e77b692eb8725 [file] [log] [blame]
-module(records1).
-author("bartlomiej.gorny@erlang-solutions.com").
%% API
-export([state/3, another/3]).
-record(state, {aaa, bbb, ccc}).
-record(another, {ddd, eee, fff}).
state(A, B, C) ->
#state{aaa = A, bbb = B, ccc = C}.
another(D, E, F) ->
#another{ddd = D, eee = E, fff = F}.