Wouldn't it be nice with something like Elixir structs for Erlang too? Especially if you could get it to work with type spec/dialyzer (maybe it already does in Elixir?). That would totally replace records for me.