Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

need ability to access record information

#3

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).

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

State: new
Milestone: none
Assigned to: Tony Arcieri Tony Arcieri

Activity

  1. Philipp Pirozhkov
    Philipp Pirozhkov

    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.

    December 21st, 2008 @ 04:19 AM

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.