Community Page
- 20bits.com Jump to website »
-
Subscribe -
Community
-
Top Commenters
-
Popular Threads
-
Recent Comments
- Apparently there is a new one (^^^) = shark ahhaha these above comments are hilarious...I love seeing people get pissed off about this
- I keep trying the robot but the straight line is messing me up. Im pretty sure it's a lowercase L but i'm not completley sure....
- underline, which is underline where the asterisks were.
- (^^^) is a shark
- hold shift and push the \ above "enter"
1 year ago
Opts = #server_opts{port=80, ip="192.168.0.1"},
NewOpts = Opts#{port=7000}.
should look like this:
Opts = #server_opts{port=80, ip="192.168.0.1"},
NewOpts = Opts#server_opts{port=7000}.
1 year ago
> Perhaps a subset of the first, records are also used to keep track of configurable options.
Yes, records may be used for this. But sometimes proplists are better choice, take a look at http://www.erlang.org/doc/man/proplists.html:
> Property lists are useful for representing inherited properties, such as
> options passed to a function where a user may specify options overriding
> the default settings, object properties, annotations, etc.
1 year ago
1 year ago
I'm not sure if you're a real person or a spam bot, but by "a la PHP, Ruby, or Python" I meant as a first-order construct. I'll reword it so it's less ambiguous.
1 year ago
Good catch. And thanks for pointing to proplists, I didn't know about them.
1 year ago
1 year ago