QIO-1.0: The Quantum IO Monad is a library for defining quantum computations in Haskell

QIO.Vec

Documentation

newtype Vec x a Source

Constructors

Vec 

Fields

unVec :: [(a, x)]
 

Instances

Num n => Monad (Vec n) 
(Show x, Show a) => Show (Vec x a) 

(<@@>) :: (Num x, Eq a) => Vec x a -> a -> xSource

(<**>) :: Num x => x -> Vec x a -> Vec x aSource

(<++>) :: Vec x a -> Vec x a -> Vec x aSource