diff --git a/phasm/prelude/__init__.py b/phasm/prelude/__init__.py index e269590..b91c31f 100644 --- a/phasm/prelude/__init__.py +++ b/phasm/prelude/__init__.py @@ -462,7 +462,7 @@ instance_type_class(IntNum, f64, methods={ 'neg': stdtypes.f64_intnum_neg, }) -Integral = Type3Class('Eq', (a, ), methods={ +Integral = Type3Class('Integral', (a, ), methods={ }, operators={ '//': [a, a, a], '%': [a, a, a], diff --git a/tests/integration/test_typeclasses/__init__.py b/tests/integration/test_typeclasses/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/integration/test_lang/test_bits.py b/tests/integration/test_typeclasses/test_bits.py similarity index 100% rename from tests/integration/test_lang/test_bits.py rename to tests/integration/test_typeclasses/test_bits.py diff --git a/tests/integration/test_lang/test_eq.py b/tests/integration/test_typeclasses/test_eq.py similarity index 100% rename from tests/integration/test_lang/test_eq.py rename to tests/integration/test_typeclasses/test_eq.py diff --git a/tests/integration/test_lang/test_extendable.py b/tests/integration/test_typeclasses/test_extendable.py similarity index 100% rename from tests/integration/test_lang/test_extendable.py rename to tests/integration/test_typeclasses/test_extendable.py diff --git a/tests/integration/test_lang/test_floating.py b/tests/integration/test_typeclasses/test_floating.py similarity index 100% rename from tests/integration/test_lang/test_floating.py rename to tests/integration/test_typeclasses/test_floating.py diff --git a/tests/integration/test_lang/test_foldable.py b/tests/integration/test_typeclasses/test_foldable.py similarity index 100% rename from tests/integration/test_lang/test_foldable.py rename to tests/integration/test_typeclasses/test_foldable.py diff --git a/tests/integration/test_lang/test_fractional.py b/tests/integration/test_typeclasses/test_fractional.py similarity index 100% rename from tests/integration/test_lang/test_fractional.py rename to tests/integration/test_typeclasses/test_fractional.py diff --git a/tests/integration/test_lang/test_integral.py b/tests/integration/test_typeclasses/test_integral.py similarity index 100% rename from tests/integration/test_lang/test_integral.py rename to tests/integration/test_typeclasses/test_integral.py diff --git a/tests/integration/test_lang/test_intnum.py b/tests/integration/test_typeclasses/test_intnum.py similarity index 100% rename from tests/integration/test_lang/test_intnum.py rename to tests/integration/test_typeclasses/test_intnum.py diff --git a/tests/integration/test_lang/test_natnum.py b/tests/integration/test_typeclasses/test_natnum.py similarity index 100% rename from tests/integration/test_lang/test_natnum.py rename to tests/integration/test_typeclasses/test_natnum.py diff --git a/tests/integration/test_lang/test_ord.py b/tests/integration/test_typeclasses/test_ord.py similarity index 100% rename from tests/integration/test_lang/test_ord.py rename to tests/integration/test_typeclasses/test_ord.py diff --git a/tests/integration/test_lang/test_promotable.py b/tests/integration/test_typeclasses/test_promotable.py similarity index 100% rename from tests/integration/test_lang/test_promotable.py rename to tests/integration/test_typeclasses/test_promotable.py diff --git a/tests/integration/test_lang/test_sized.py b/tests/integration/test_typeclasses/test_sized.py similarity index 100% rename from tests/integration/test_lang/test_sized.py rename to tests/integration/test_typeclasses/test_sized.py