vinyl-vectors-0.2.0: Vectors for vinyl vectors

Safe HaskellNone
LanguageHaskell2010

Data.Vector.Vinyl.Default.NonEmpty.Monomorphic.Internal

Synopsis

Documentation

data MVector :: * -> * -> * where Source

Constructors

MV :: !(Rec (MVectorVal s) rs) -> MVector s (Rec Identity rs) 

Instances

(MVector MVector (Rec * Identity ((:) * s rs)), HasDefaultVector r) => MVector MVector (Rec * Identity ((:) * r ((:) * s rs))) Source 
HasDefaultVector r => MVector MVector (Rec * Identity ((:) * r ([] *))) Source 

data Vector :: * -> * where Source

Constructors

V :: !(Rec VectorVal rs) -> Vector (Rec Identity rs) 

Instances

(Vector Vector (Rec * Identity ((:) * s rs)), HasDefaultVector r) => Vector Vector (Rec * Identity ((:) * r ((:) * s rs))) Source 
HasDefaultVector r => Vector Vector (Rec * Identity ((:) * r ([] *))) Source 
type Mutable Vector = MVector Source