4245 - fix example1.mu to actually run
Thanks mahmudov on freenode IRC for the feedback! This was an embarrassing oversight right at the top of my Readme.
This commit is contained in:
parent
059def11cb
commit
ecfa21dd5a
|
@ -1,5 +1,7 @@
|
|||
def example1 [
|
||||
def main [
|
||||
local-scope
|
||||
a:num <- add 2, 2
|
||||
a <- multiply a, 3
|
||||
# uncomment the next line to see the output
|
||||
# $print a
|
||||
]
|
||||
|
|
|
@ -19,6 +19,8 @@ a:hover { text-decoration: underline; }
|
|||
.Special { color: #c00000; }
|
||||
.Constant { color: #00a0a0; }
|
||||
.LineNr { color: #444444; }
|
||||
.Comment { color: #9090ff; }
|
||||
.Comment a { color:#0000ee; text-decoration:underline; }
|
||||
-->
|
||||
</style>
|
||||
|
||||
|
@ -53,11 +55,13 @@ if ('onhashchange' in window) {
|
|||
</head>
|
||||
<body onload='JumpToLine();'>
|
||||
<pre id='vimCodeElement'>
|
||||
<span id="L1" class="LineNr">1 </span><span class="muRecipe">def</span> <a href='example1.mu.html#L1'>example1</a> [
|
||||
<span id="L1" class="LineNr">1 </span><span class="muRecipe">def</span> <a href='example1.mu.html#L1'>main</a> [
|
||||
<span id="L2" class="LineNr">2 </span> <span class="Constant">local-scope</span>
|
||||
<span id="L3" class="LineNr">3 </span> a:num <span class="Special"><-</span> add<span class="Constant"> 2</span>,<span class="Constant"> 2</span>
|
||||
<span id="L4" class="LineNr">4 </span> a <span class="Special"><-</span> multiply a,<span class="Constant"> 3</span>
|
||||
<span id="L5" class="LineNr">5 </span>]
|
||||
<span id="L5" class="LineNr">5 </span> <span class="Comment"># uncomment the next line to see the output</span>
|
||||
<span id="L6" class="LineNr">6 </span><span class="Comment"># $print a</span>
|
||||
<span id="L7" class="LineNr">7 </span>]
|
||||
</pre>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue