about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-09-25 03:35:02 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-09-25 03:35:02 -0700
commit409237204368205a06e2b82fcab26b0a290d7412 (patch)
treef895a054e392071b666fc2e5af9d8175a102e2c0
parent4f1d1944873c949b6d474f63e16098804c588a33 (diff)
downloadmu-409237204368205a06e2b82fcab26b0a290d7412.tar.gz
4007
-rw-r--r--html/nqueens.mu.html4
-rw-r--r--nqueens.mu4
2 files changed, 4 insertions, 4 deletions
diff --git a/html/nqueens.mu.html b/html/nqueens.mu.html
index bb65102c..8ae9d05d 100644
--- a/html/nqueens.mu.html
+++ b/html/nqueens.mu.html
@@ -114,9 +114,9 @@ if ('onhashchange' in window) {
 <span id="L53" class="LineNr"> 53 </span><span class="muRecipe">def</span> <a href='nqueens.mu.html#L53'>conflict?</a> curr:<a href='nqueens.mu.html#L6'>square</a>, queens:&amp;:<a href='064list.mu.html#L6'>list</a>:<a href='nqueens.mu.html#L6'>square</a><span class="muRecipe"> -&gt; </span>result:bool [
 <span id="L54" class="LineNr"> 54 </span>  <span class="Constant">local-scope</span>
 <span id="L55" class="LineNr"> 55 </span>  <span class="Constant">load-ingredients</span>
-<span id="L56" class="LineNr"> 56 </span>  result:bool <span class="Special">&lt;-</span> <a href='nqueens.mu.html#L61'>conflicting-file?</a> curr, queens
+<span id="L56" class="LineNr"> 56 </span>  result <span class="Special">&lt;-</span> <a href='nqueens.mu.html#L61'>conflicting-file?</a> curr, queens
 <span id="L57" class="LineNr"> 57 </span>  <span class="muControl">return-if</span> result
-<span id="L58" class="LineNr"> 58 </span>  result:bool <span class="Special">&lt;-</span> <a href='nqueens.mu.html#L77'>conflicting-diagonal?</a> curr, queens
+<span id="L58" class="LineNr"> 58 </span>  result <span class="Special">&lt;-</span> <a href='nqueens.mu.html#L77'>conflicting-diagonal?</a> curr, queens
 <span id="L59" class="LineNr"> 59 </span>]
 <span id="L60" class="LineNr"> 60 </span>
 <span id="L61" class="LineNr"> 61 </span><span class="muRecipe">def</span> <a href='nqueens.mu.html#L61'>conflicting-file?</a> curr:<a href='nqueens.mu.html#L6'>square</a>, queens:&amp;:<a href='064list.mu.html#L6'>list</a>:<a href='nqueens.mu.html#L6'>square</a><span class="muRecipe"> -&gt; </span>result:bool [
diff --git a/nqueens.mu b/nqueens.mu
index 51495009..135668ab 100644
--- a/nqueens.mu
+++ b/nqueens.mu
@@ -53,9 +53,9 @@ def nqueens n:num, queens:&:list:square -> result:num, queens:&:list:square [
 def conflict? curr:square, queens:&:list:square -> result:bool [
   local-scope
   load-ingredients
-  result:bool <- conflicting-file? curr, queens
+  result <- conflicting-file? curr, queens
   return-if result
-  result:bool <- conflicting-diagonal? curr, queens
+  result <- conflicting-diagonal? curr, queens
 ]
 
 def conflicting-file? curr:square, queens:&:list:square -> result:bool [