aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/type.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/type.lux')
-rw-r--r--stdlib/source/lux/type.lux4
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/source/lux/type.lux b/stdlib/source/lux/type.lux
index ee7140e8b..77060876f 100644
--- a/stdlib/source/lux/type.lux
+++ b/stdlib/source/lux/type.lux
@@ -1,5 +1,6 @@
(.module: {#.doc "Basic functionality for working with types."}
[lux (#- function)
+ ["@" target]
[abstract
[equivalence (#+ Equivalence)]
[monad (#+ Monad do)]]
@@ -175,7 +176,8 @@
(Equivalence Type)
(def: (= x y)
- (or (is? x y)
+ (or (for {@.php false} ## TODO: Remove this once JPHP is gone.
+ (is? x y))
(case [x y]
[(#.Primitive xname xparams) (#.Primitive yname yparams)]
(and (text\= xname yname)