[erlang-questions] [ANN] Elixir v0.5.0 released
Fri May 25 18:19:55 CEST 2012
> Is it possible to use elixir to emulate objects on top of gen_server
> with their "instance variables" which are just fields of record?
Elixir does not have the concept of objects. So you have to do the same as
Erlang. You need to create a record and access/manipulate the records
fields. There is a difference that Elixir records are not a preprocessor
feature, so access/manipulation is less verbose.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions