Skip to content

Instantly share code, notes, and snippets.

@toonsend
Created January 11, 2011 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toonsend/774783 to your computer and use it in GitHub Desktop.
Save toonsend/774783 to your computer and use it in GitHub Desktop.
from_proplist([ { Key, Value } | Tail ], Dict) ->
AtomisedKey = convert_to_atom( Key ),
NewDict = dict:store( AtomisedKey, inner_from_proplist(Value), Dict ),
from_proplist( Tail, NewDict ).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment