OSDN Git Service

Update local defs.txt.
authorSimon Forman <sforman@hushmail.com>
Tue, 22 Feb 2022 21:49:44 +0000 (13:49 -0800)
committerSimon Forman <sforman@hushmail.com>
Tue, 22 Feb 2022 21:49:44 +0000 (13:49 -0800)
implementations/Nim/defs.txt

index 5a40424..a1be10d 100644 (file)
@@ -5,7 +5,7 @@
 || nulco [nullary] dip [true] branch
 !- 0 >=
 <{} [] swap
-<<{} [] rolldown
+<<{} [] rollup
 abs dup 0 < [] [neg] branch
 anamorphism [pop []] swap [dip swons] genrec
 app1 grba infrst
@@ -87,6 +87,7 @@ sum [+] step_zero
 swapd [swap] dip
 swons swap cons
 swoncat swap concat
+sqr dup mul
 tailrec [i] genrec
 take [] roll> [shift] times pop
 ternary binary popd