title: Skip else condition in case statement erlang
body: <p>I have a list of list (<code>AllData</code>) over which I'm iterating, to get some elements depending on sepc-documentation  conditions. Keeping empty tuple <code>{}</code> or only <code>ok</code> is causing issues to my list and really I don't want to insert anything to my NewList in else(<code>_-&gt;</code>) block of inner case statement. </p>
  
  <p>Can we skip the else ( _-> ) condition? </p>
  
  <p>Here is my sample code:</p>
  
  <pre><code>lists:foldl(fun(X , {Counter, NewList}) -&gt;
          case X:number() of 
            {Aa, Bb} -&gt;
              case  X:id() == Aa of 
                  true -&gt;
                      //Aa matched 
                       {Counter+1, [X:items()|NewList] }  
                  _-&gt;
                      %% I want to skip the code that goes here in inner case statement.
                      %% Doing anything here showing a wrong output. 
                      %% Keeping empty tuple with counter changing my output like 
                           {Counter+1, [[]|NewList] }  
                      %% I don't have to do anything here at all.
  
                  end;
              _-&gt;
                   %% Execute some other code and append to J
                   {Counter+1, [X:items()|NewList] }  
           end
      end,{0, []}, AllData).
  </code></pre>