A ruby class is already a type. However, to specify it within a
dry-types declaration we must wrap it in
Types.Instance(). For example:
Types::Strict::Array.of(Object)["a"] # => NoMethodError: undefined method `call_unsafe' for Object:Class Types::Strict::Array.of(Types.Instance(Object))["a"] # => ["a"]
Would it be too difficult to transparently swallow ruby native types? And what are your thoughts about it?