diff --git a/joy/library.py b/joy/library.py index e6920af..76eee4b 100644 --- a/joy/library.py +++ b/joy/library.py @@ -1069,7 +1069,7 @@ def genrec(stack, expression, dictionary): def map_(S, expression, dictionary): ''' Run the quoted program on TOS on the items in the list under it, push a - new list with the results (in place of the program and original list. + new list with the results in place of the program and original list. ''' # (quote, (aggregate, stack)) = S # results = list_to_stack([ diff --git a/thun/defs.txt b/thun/defs.txt index ab0ad81..e883053 100644 --- a/thun/defs.txt +++ b/thun/defs.txt @@ -1,6 +1,6 @@ -- == 1 - ++ == 1 + -? == dup bool +? == dup bool anamorphism == [pop []] swap [dip swons] genrec app1 == grba infrst app2 == [grba swap grba swap] dip [infrst] cons ii