snipt

Ctrl+h for KB shortcuts

Text only

No you can't do that.

1
2
3
4
Welcome to Swift!  Type :help for assistance.
  1> let 1 = 2
<REPL>:1:5: error: expected pattern
let 1 = 2
https://snipt.net/embed/1c78391ff16ae02a0ac6a669a46a66f3/
/raw/1c78391ff16ae02a0ac6a669a46a66f3/
1c78391ff16ae02a0ac6a669a46a66f3
text
Text only
4
2019-06-19T03:20:09
True
False
False
/api/public/snipt/135228/
no-you-cant-do-that-62753c8b
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>Welcome to Swift! Type :help for assistance. </span><span id="L-2"><a name="L-2"></a> 1&gt; let 1 = 2 </span><span id="L-3"><a name="L-3"></a>&lt;REPL&gt;:1:5: error: expected pattern </span><span id="L-4"><a name="L-4"></a>let 1 = 2 </span></pre></div> </td></tr></table>