Change definition of uncons.

This commit is contained in:
sforman
2023-09-18 11:26:50 -07:00
parent ecc2e442fb
commit 16cc0e5769
7 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ init_defs(void)
def_third_body = text_to_expression("rest second");
def_tuck_body = text_to_expression("dup swapd");
def_unary_body = text_to_expression("nullary popd");
def_uncons_body = text_to_expression("[first] [rest] cleave");
def_uncons_body = text_to_expression("[first] dupdip rest");
def_unit_body = text_to_expression("[] cons");
def_unquoted_body = text_to_expression("[i] dip");
def_unstack_body = text_to_expression("[[] swaack] dip swoncat swaack pop");
+1 -1
View File
@@ -111,7 +111,7 @@ ternary binary popd
third rest second
tuck dup swapd
unary nullary popd
uncons [first] [rest] cleave
uncons [first] dupdip rest
unit [] cons
unquoted [i] dip
unstack [[] swaack] dip swoncat swaack pop