Let simplejoy be joy.

Simple pleasures are the best.
This commit is contained in:
Simon Forman 2022-09-14 20:15:25 -07:00
parent f5265a2287
commit 39008b351b
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ at drop first
average [sum] [size] cleave / average [sum] [size] cleave /
b [i] dip i b [i] dip i
binary unary popd binary unary popd
bool truthy
ccccons ccons ccons ccccons ccons ccons
ccons cons cons ccons cons cons
clear [] swaack pop clear [] swaack pop

View File

@ -552,7 +552,7 @@ proc joy_eval(sym: string, stack: JoyListType, expression: JoyListType,
return swaack(stack, expression, dictionary) return swaack(stack, expression, dictionary)
of "swap": of "swap":
return swap(stack, expression, dictionary) return swap(stack, expression, dictionary)
of "truthy": of "bool": # bool is a reserved word in Nim.
return truthy(stack, expression, dictionary) return truthy(stack, expression, dictionary)
else: else: