diff --git a/joy/joy.py b/joy/joy.py index 07ed9a6..dbad922 100644 --- a/joy/joy.py +++ b/joy/joy.py @@ -36,7 +36,7 @@ from .utils.pretty_print import TracePrinter def joy(stack, expression, dictionary, viewer=None): '''Evaluate the Joy expression on the stack. - + The basic joy() function is quite straightforward. It iterates through a sequence of terms which are either literals (strings, numbers, sequences) or functions. Literals are put onto the stack and functions are diff --git a/joy/library.py b/joy/library.py index 76eee4b..3c7335b 100644 --- a/joy/library.py +++ b/joy/library.py @@ -64,8 +64,8 @@ from .utils.types import ( poly_combinator_effect, doc_from_stack_effect, ) - - + + _SYM_NUMS = count().next _COMB_NUMS = count().next @@ -243,7 +243,7 @@ make_generator == [codireco] ccons ifte == [nullary not] dipd branch ''' # -# +# # ifte == [nullary] dipd swap branch # genrec == [[genrec] cons cons cons cons] nullary swons concat ifte