title: How to avoid backslashitis?
body: <p>I have the following code:</p>
  
  <pre><code>proc list_backslash {} {
  
      array unset options
      array set options {
          -inputs {vdd}
          -outputs {vss}
      }
  
      set inputs { vdd2 vdd dvdd }
      set outputs { vss2 vss dvss }
  
      set updateOptions [ list \
          -inputs       $inputs \
          -outputs      $outputs ]
  
      array set options $updateOptions
  
      foreach {k v} [array get options] {
          puts "$k =&gt; $v"
      }
  }
  </code></pre>
  
  <p>Since I have a lot of key-value pairs in <code>updateOptions</code>, there is a severe backslashitis! Is there a better way to do code <code>updateOptions</code>? I tried <code>subst</code> + braces <code>{}</code> and realized it does not preserve the list structure thus dooming it.</p>