OSDN Git Service

Fix TextJoyType inheritance.
authorSimon Forman <sforman@hushmail.com>
Thu, 19 Jul 2018 00:47:19 +0000 (17:47 -0700)
committerSimon Forman <sforman@hushmail.com>
Thu, 19 Jul 2018 00:47:19 +0000 (17:47 -0700)
joy/library.py
joy/utils/types.py

index 288229d..1ef47f8 100644 (file)
@@ -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
index 287407e..3c56e47 100644 (file)
@@ -74,7 +74,7 @@ class IntJoyType(FloatJoyType):
   prefix = 'i'
 
 
-class TextJoyType(FloatJoyType):
+class TextJoyType(AnyJoyType):
   accept = basestring
   prefix = 't'