title: Elixir pattern matching maps
body: <p>I am trying to pattern match a key value in a map and discard everything else.</p>
  
  <pre><code>identity = RedditOAuth2.get_identity(access_token)
  # here is how i am getting the key "name" right now.
  name = Map.get(identity, "name")
  #----------------------------------------
  # How would i do something like this
  %{"name" =&gt; name | rest} = RedditOAuth2.get_identity(access_token)
  </code></pre>