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'