title: Elixir case on a single line
body: <p>I would like to have the following case on a single line:</p>
  
  <pre><code>case s do
    :a -&gt; :b
    :b -&gt; :a
  end
  </code></pre>
  
  <p>The macro <code>case</code> is defined as <code>case(condition, clauses)</code>. The following</p>
  
  <pre><code>quote do
    case s do
      :a -&gt; :b
      :b -&gt; :a
    end
  end
  </code></pre>
  
  <p>gives:</p>
  
  <pre><code>{:case, [],
   [{:s, [], Elixir}, [do: [{:-&gt;, [], [[:a], :b]}, {:-&gt;, [], [[:b], :a]}]]]}
  </code></pre>
  
  <p>and from here should be possible to go back to <code>case(s, ???)</code></p>