#3 new
Philipp Pirozhkov

need ability to access record information

Reported by Philipp Pirozhkov | November 7th, 2008 @ 04:21 AM

need ability to use something like that:

Record.re: module Record def record(rec#server_opts)

 Local.puts(rec.ip)

myserver.erl: -module(my_server).

-record(server_opts,

{port,
ip="127.0.0.1"}).

Opts = #server_opts{port=80, ip="192.168.0.1"}. 'Record':record(Opts).

Comments and changes to this ticket

  • Philipp Pirozhkov

    Philipp Pirozhkov December 21st, 2008 @ 04:19 AM

    I'm still not sure Reia needs this ability. Records was created in Erlang as a fast alternative to dict, but i'm not sure how fast it is, and besides, that warps language consistency, i wont'y use it a lot anyway. It can only be required to interface existing Erlang code.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Reia a dynamic scripting language for the Erlang virtual machine (BEAM)

People watching this ticket

Tags

Pages