Special syntax for dictionaries

Tim Fletcher mail@REDACTED
Wed May 5 00:02:57 CEST 2010


> 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


More information about the erlang-questions mailing list