You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move compatibility patterns into *.Pattern modules
We have to define pattern in separate module since it must be
defined in separate module in order to syntax
> import Data.Vector.Mutable (MVector(..))
to work. Only patterns defined in another module could be exported together with
type so compatibility pattern must be defined in module other that one with safe
API. Also DEPRECATED pragma deprecates name in both namespaces. So we can't
define patterns in Unsafe modules. This means we need dedicated module for
patterns.
I went with *.Pattern name since we have Data.Vector.Storable.Internal
and it's imported by unsafe modules.
0 commit comments