OSDN Git Service

Minor edits.
authorsforman <sforman@hushmail.com>
Mon, 24 Jul 2023 18:28:45 +0000 (11:28 -0700)
committersforman <sforman@hushmail.com>
Mon, 24 Jul 2023 18:28:45 +0000 (11:28 -0700)
docs/misc/Document.md
docs/misc/neat-talk.txt
docs/reference/pow.md
implementations/uvm-ncc/joy_types.c

index 5c9387b..065276a 100644 (file)
@@ -273,7 +273,7 @@ Which then becomes this:
 
     5 1 >> u sqr u
 
-The interpreter could notice that `5 1 >>` and `u sqr` can proceed in parallel without interfering with each other.  The `dipdip` combinator could be written to somehow hint to the interpreter that it should check for this posibility.
+The interpreter could notice that `5 1 >>` and `u sqr` can proceed in parallel without interfering with each other.  The `dipdip` combinator could be written to somehow hint to the interpreter that it should check for this possibility.
 
 
 ## JIT
index c286e9c..73509d5 100644 (file)
@@ -1,8 +1,8 @@
+Great talk from Jon Purdy in 2017, he wrote Kitten.
+Concatenative Programming: From Ivory to Metal
 https://www.youtube.com/watch?v=_IgqJr8jG8M
 
-Concatenative Programming: From Ivory to Metal
 
-Great talk from Jon Purdy in 2017, he wrote Kitten.
 
 "Complete and Easy Bidirectional Typechecking
 for Higher-Rank Polymorphism"
index 9d439a3..46901fb 100644 (file)
@@ -4,8 +4,8 @@
 
 Basis Function
 
-Take two numbers `a` and `b` from the stack and raise `a` to the `n`th
-power.  (`b` is on the top of the stack.)
+Take two numbers `a` and `n` from the stack and raise `a` to the `n`th
+power.  (`n` is on the top of the stack.)
 
        a n pow
     -------------
index 5f74b25..9835c0c 100644 (file)
@@ -300,7 +300,7 @@ ht_insert(char *symbol)
        while (candidate) {
                // Compare pointers then hashes (since we already have
                // one hash I'm guessing that that's cheaper or at least
-               // no more expensive than string comparision.)
+               // no more expensive than string comparison.)
                if (candidate == symbol || hash == hash_key(candidate))
                        break;
                index = (index + increment) % CAPACITY;
@@ -356,6 +356,7 @@ push_symbol(char *symbol, u32 stack)
 {
        return cons(JOY_VALUE(joySymbol, ht_insert(symbol)), stack);
 }
+
 u32
 push_int(u32 n, u32 stack)
 {