From 6576e1a431d04155a1d0bf1ca82155f27ab7e745 Mon Sep 17 00:00:00 2001 From: Simon Forman Date: Wed, 18 Jul 2018 17:47:19 -0700 Subject: [PATCH] Fix TextJoyType inheritance. --- joy/library.py | 2 +- joy/utils/types.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/joy/library.py b/joy/library.py index 288229d..1ef47f8 100644 --- a/joy/library.py +++ b/joy/library.py @@ -210,8 +210,8 @@ flatten == [] swap [concat] step quoted == [unit] dip unquoted == [i] dip enstacken == stack [clear] dip -disenstacken == ? [uncons ?] loop pop ? == dup truthy +disenstacken == ? [uncons ?] loop pop dinfrirst == dip infra first nullary == [stack] dinfrirst unary == nullary popd diff --git a/joy/utils/types.py b/joy/utils/types.py index 287407e..3c56e47 100644 --- a/joy/utils/types.py +++ b/joy/utils/types.py @@ -74,7 +74,7 @@ class IntJoyType(FloatJoyType): prefix = 'i' -class TextJoyType(FloatJoyType): +class TextJoyType(AnyJoyType): accept = basestring prefix = 't'