linearmap-category-0.4.2.0: Native, complete, matrix-free linear algebra.
Copyright(c) Justus Sagemüller 2020
LicenseGPL v3
Maintainer(@) jsag $ hvl.no
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Math.VectorSpace.MiscUtil.MultiConstraints

Description

 

Documentation

type family SameScalar (c :: Type -> Constraint) (vs :: [Type]) :: Constraint where ... Source #

Equations

SameScalar c '[] = () 
SameScalar c (v ': vs) = (c v, AllWithScalar (Scalar v) c vs)