[erlang-questions] Frames proposal

Max Lapshin max.lapshin@REDACTED
Tue May 1 05:38:10 CEST 2012


I mean using JSON directly inside Erlang:


function({type : <<"article">>, title : Title, id : Id} = Object) ->
   Object{id : make_permalink(Id, Title)}.

or

  Article = {id : 523, title : proplists:get_value(<<"title">>, Params)}

I mean this. Your syntax may have some historical roots, but they are
too ancient. Nowadays such syntax <{key ~ value>} look like inventing
bicycle with square wheels.



More information about the erlang-questions mailing list