A handy wrapper to help distinguish points from vectors at the type level
Constructors
P (f a)
Instances23Generic1, Monad, Functor, Applicative, Foldable, Traversable, …
Generic1 (Point f)Defined in sdl2-2.5.5.0 · SDL.Internal.VectUnbox (f a) => Vector Vector (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectUnbox (f a) => MVector MVector (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectMonad f => Monad (Point f)Defined in sdl2-2.5.5.0 · SDL.Internal.VectFunctor f => Functor (Point f)Defined in sdl2-2.5.5.0 · SDL.Internal.VectApplicative f => Applicative (Point f)Defined in sdl2-2.5.5.0 · SDL.Internal.VectFoldable f => Foldable (Point f)Defined in sdl2-2.5.5.0 · SDL.Internal.VectTraversable f => Traversable (Point f)Defined in sdl2-2.5.5.0 · SDL.Internal.VectEq (f a) => Eq (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectFractional (f a) => Fractional (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.Vect(Typeable f, Typeable a, Data (f a)) => Data (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectNum (f a) => Num (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectOrd (f a) => Ord (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectRead (f a) => Read (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectShow (f a) => Show (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectIx (f a) => Ix (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectGeneric (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectStorable (f a) => Storable (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.VectUnbox (f a) => Unbox (Point f a)Defined in sdl2-2.5.5.0 · SDL.Internal.Vecttype Rep (Point f a) = D1 ('MetaDataDefined in sdl2-2.5.5.0 · SDL.Internal.Vect"Point"
"SDL.Internal.Vect"
"sdl2-2.5.5.0-3sH3mgPhw4837qWuaPOiH"
'True) (C1 ('MetaCons"P"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (f a))))type Rep1 (Point f) = D1 ('MetaDataDefined in sdl2-2.5.5.0 · SDL.Internal.Vect"Point"
"SDL.Internal.Vect"
"sdl2-2.5.5.0-3sH3mgPhw4837qWuaPOiH"
'True) (C1 ('MetaCons"P"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec1 f)))data MVector s (Point f a)MV_P !(MVector s (f a))
data Vector (Point f a)V_P !(Vector (f a))