We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What would be the right place for something like this?
import qualified Data.Vector.Generic as G import qualified Data.Vector.Generic.Mutable as MG import qualified Data.Vector.Unboxed as U import qualified Data.Vector.Unboxed.Mutable as MU newtype instance U.MVector s (Strict.Pair a b) = MV_StrictPair (U.MVector s (a, b)) newtype instance U.Vector (Strict.Pair a b) = V_StrictPair (U.Vector (a, b)) instance U.IsoUnbox (Strict.Pair a b) (a, b) deriving via (Strict.Pair a b `U.As` (a, b)) instance (U.Unbox a, U.Unbox b) => MG.MVector U.MVector (Strict.Pair a b) deriving via (Strict.Pair a b `U.As` (a, b)) instance (U.Unbox a, U.Unbox b) => G.Vector U.Vector (Strict.Pair a b) instance (U.Unbox a, U.Unbox b) => U.Unbox (Strict.Pair a b)
A new micro package?
The text was updated successfully, but these errors were encountered:
Probably. I don't see anything particularly strict here. Or maybe even just put that in vector.
strict
vector
EDIT: If first strict pair needs to be added to base, so be it.
base
Sorry, something went wrong.
No branches or pull requests
What would be the right place for something like this?
A new micro package?
The text was updated successfully, but these errors were encountered: