[erlang-questions] Re: Special syntax for dictionaries
Bengt Kleberg
bengt.kleberg@REDACTED
Wed May 5 06:54:54 CEST 2010
Greetings,
Would not using ":" make it look like a function call (to another
module)?
bengt
On Wed, 2010-05-05 at 00:02 +0200, Tim Fletcher wrote:
> > My proposal for 'frames' has been sitting around for years.
> > I would write that as
> > <{ author ~ "Mike"
> > , text ~ "My first blog post!"
> > , tags ~ ["mongodb","python","pymongo"]
> > , date ~ erlang:now()
> > }>
>
> As much as I dislike the double bracketing I can see the necessity. Is
> there any reason why using the more common choice of ":" to delimit
> the keys and values would be a problem (instead of "~")?
>
> For example: <{author: "Mike", text: "My first blog post!"...}>
>
> Tim
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
More information about the erlang-questions
mailing list