Use long URL for CLI platform in tutorial

This commit is contained in:
Richard Feldman 2022-11-07 23:36:24 -05:00
parent 63c1b14552
commit 0410f82e99
No known key found for this signature in database
GPG Key ID: F1F21AA5B1D9E43B

View File

@ -172,9 +172,9 @@ to use them for more than that.</p>
<section><h2 id="building-an-application"><a href="#building-an-application">Building an Application</a></h2>
<p>Let's move out of the REPL and create our first Roc application!</p>
<p>Make a new file named <code>hello.roc</code> and put this inside it:</p>
<samp><span class="kw">app</span> <span class="str">"hello"</span>
<span class="kw">packages</span> <span class="brace">{</span> pf: <span class="str">roc-lang.org/basic-cli 1.0.0</span> <span class="brace">}</span>
<p>Make a file named <code>hello.roc</code> and put this in it: <i>(note the long URL - a future release of the language will make this more concise, but for now, make sure you get the whole thing!)</i></p>
<samp style="overflow:auto"><span class="kw">app</span> <span class="str">"hello"</span>
<span class="kw">packages</span> <span class="brace">{</span> pf: <span class="str">"https://roc-lang.org/basic-cli/1.0.0/oUkxSOI9zFGtSoIaMB40QPdrXphr1p1780eiui2iO9Mz.rp1"</span> <span class="brace">}</span>
<span class="kw">imports</span> <span class="brace">[</span>pf.Stdout, pf.Program<span class="brace">]</span>
<span class="kw">provides</span> <span class="brace">[</span>main<span class="brace">]</span> <span class="kw">to</span> pf