Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Util.TimeVectorStorable

Description

Storable instances for unboxed TimeVector values, declared separately to avoid an hsc dependence for TimeVector.

The Storable instances are used both by vector and when the signals are copied to C, so they have to produce structs as expected by C.

Documentation

data Sample y Source #

Constructors

Sample 

Fields

Instances
CRC32 Unboxed # 
Instance details

Defined in Util.TimeVector

Eq y => Eq (Sample y) # 
Instance details

Defined in Util.TimeVectorStorable

Methods

(==) :: Sample y -> Sample y -> Bool #

(/=) :: Sample y -> Sample y -> Bool #

Show y => Show (Sample y) # 
Instance details

Defined in Util.TimeVectorStorable

Methods

showsPrec :: Int -> Sample y -> ShowS #

show :: Sample y -> String #

showList :: [Sample y] -> ShowS #

Storable (Sample Double) # 
Instance details

Defined in Util.TimeVectorStorable

C.CStorable (Sample Double) # 
Instance details

Defined in Util.TimeVectorStorable

ToJSON (Sample Double) # 
Instance details

Defined in Util.TimeVectorStorable

FromJSON (Sample Double) # 
Instance details

Defined in Util.TimeVectorStorable

Pretty y => Pretty (Sample y) # 
Instance details

Defined in Util.TimeVector

Serialize.Serialize y => Serialize.Serialize (Sample y) # 
Instance details

Defined in Util.TimeVectorStorable