Skip to content

Commit 2eed9cb

Browse files
author
Cody Fagley
committedAug 5, 2021
Deploy website
Deploy website version based on d683e7c72a53b52f720b38877c8d0f4006ad545c
1 parent ac91e36 commit 2eed9cb

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed
 

‎docs/xcsl/functions.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,12 @@ <h2><a class="anchor" aria-hidden="true" id="local-functions"></a><a href="#loca
100100
<span class="hljs-keyword">let</span> funct = <span class="hljs-number">2</span> <span class="hljs-keyword">in</span>
101101
funct
102102
</code></pre>
103-
<p>So what's the difference between these two expressions? Let's explore what happens during each of these. The first expression declares a function with no parameters named <em>funct</em>, equal to 1. The second expression declares a <em>local</em> function named <em>funct</em> that is temporarily equal to 2, then invokes the <strong>local</strong> function.</p>
104-
<p>In all subsequent code in the module, <em>funct</em> would equal 1.</p>
103+
<p>So what's the difference between these two expressions? Let's explore what happens during each of these.</p>
104+
<ul>
105+
<li>The first expression declares a function with no parameters named <code>funct</code>, equal to 1.</li>
106+
<li>The second expression declares a <strong>local</strong> function that temporarily sets <code>funct</code> equal to 2.</li>
107+
<li>It will ONLY equal 2 in the expression directly after <code>in</code></li>
108+
</ul>
105109
<hr>
106110
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/xcsl/conditions"><span class="arrow-prev"></span><span>Conditional Expressions</span></a><a class="docs-next button" href="/docs/xcsl/utilities"><span>Utility Keywords</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#declaring-functions">Declaring Functions</a></li><li><a href="#function-parameters">Function Parameters</a></li><li><a href="#type-checking">Type Checking</a></li><li><a href="#overloading-functions">Overloading Functions</a></li><li><a href="#local-functions">Local Functions</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><p class="nav-addr">Codeus Tech, LLC<br/>1938 E Harney St, Suite 146<br/>Laramie, Wyoming 82072<br/>United States</p><a href="/" class="nav-home"><img src="/img/codeus_white.png" alt="Codeus Tech" width="66" height="58"/></a><div><h5>Navigation</h5><a href="/">Home</a><a href="/docs/en/about_us.html">About Us</a><a href="/blog/">News</a><a href="/docs/en/xcs/xcs.html">XCS Wiki</a></div></section><section class="copyright">Copyright © 2021 Codeus Tech, LLC</section><div id="cntr" class="cntr">Number of visitors is:<span>0</span></div></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
107111
document.addEventListener('keyup', function(e) {

‎docs/xcsl/functions/index.html

+6-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,12 @@ <h2><a class="anchor" aria-hidden="true" id="local-functions"></a><a href="#loca
100100
<span class="hljs-keyword">let</span> funct = <span class="hljs-number">2</span> <span class="hljs-keyword">in</span>
101101
funct
102102
</code></pre>
103-
<p>So what's the difference between these two expressions? Let's explore what happens during each of these. The first expression declares a function with no parameters named <em>funct</em>, equal to 1. The second expression declares a <em>local</em> function named <em>funct</em> that is temporarily equal to 2, then invokes the <strong>local</strong> function.</p>
104-
<p>In all subsequent code in the module, <em>funct</em> would equal 1.</p>
103+
<p>So what's the difference between these two expressions? Let's explore what happens during each of these.</p>
104+
<ul>
105+
<li>The first expression declares a function with no parameters named <code>funct</code>, equal to 1.</li>
106+
<li>The second expression declares a <strong>local</strong> function that temporarily sets <code>funct</code> equal to 2.</li>
107+
<li>It will ONLY equal 2 in the expression directly after <code>in</code></li>
108+
</ul>
105109
<hr>
106110
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/xcsl/conditions"><span class="arrow-prev"></span><span>Conditional Expressions</span></a><a class="docs-next button" href="/docs/xcsl/utilities"><span>Utility Keywords</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#declaring-functions">Declaring Functions</a></li><li><a href="#function-parameters">Function Parameters</a></li><li><a href="#type-checking">Type Checking</a></li><li><a href="#overloading-functions">Overloading Functions</a></li><li><a href="#local-functions">Local Functions</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><p class="nav-addr">Codeus Tech, LLC<br/>1938 E Harney St, Suite 146<br/>Laramie, Wyoming 82072<br/>United States</p><a href="/" class="nav-home"><img src="/img/codeus_white.png" alt="Codeus Tech" width="66" height="58"/></a><div><h5>Navigation</h5><a href="/">Home</a><a href="/docs/en/about_us.html">About Us</a><a href="/blog/">News</a><a href="/docs/en/xcs/xcs.html">XCS Wiki</a></div></section><section class="copyright">Copyright © 2021 Codeus Tech, LLC</section><div id="cntr" class="cntr">Number of visitors is:<span>0</span></div></footer></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
107111
document.addEventListener('keyup', function(e) {

0 commit comments

Comments
 (0)
Failed to load comments.