Erlang: An Introduction to Records

From 20bits, 5 months ago, 0 views

Internally Erlang has only two internal compound data types: lists and tuples. Neither of these data types support named access, so creating associative arrays a la PHP, Ruby, or Python is an impossibility. That is, in Ruby, I could do: server_opts = {:port => 8080, :ip => '127.0.0.1′, :max_connections => 10} while in Erlang there's no such [...]

comments

No comments yet.

You must be logged in to add your own comment.