pervasive type constraints
[scpubgit/DX.git] / lib / DX / Class.pm
index 7d8987c..2f23881 100644 (file)
@@ -6,7 +6,9 @@ sub import {
   strictures->import::into({ level => 1, version => 2 }); # should pass version
   DX::Types->import::into(1, ':types', ':assert');
   DX::Utils->import::into(1, '*trace');
-  Types::Standard->import::into(1, 'Maybe');
+  Types::Standard->import::into(
+    1, qw(Maybe ArrayRef HashRef Str Num Int Enum Bool)
+  );
   Try::Tiny->import::into(1);
   Moo->import::into(1);
   # This would not be safe with method modifiers, but since the role