diff --git a/joy/gui/world.py b/joy/gui/world.py index 4fe4514..3045360 100644 --- a/joy/gui/world.py +++ b/joy/gui/world.py @@ -121,7 +121,6 @@ class World(object): class StackDisplayWorld(World): - def __init__(self, repo, filename, rel_filename, dictionary=None, text_widget=None): self.filename = filename stack = self.load_stack() or () 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 61fd462..dc4f940 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