Paraiso-0.2.0.3: a code generator for partial differential equations solvers.

Safe HaskellSafe-Infered

Language.Paraiso.OM.DynValue

Description

The DynValue is stored in the OM dataflow graph type. DynValue carries the type and homogeneity information in value. Therefore, DynValue with various types can be stored in single container type such as graph.

Synopsis

Documentation

data DynValue Source

dynamic value type, with its realm and content type informed as values

Constructors

DynValue 

Fields

realm :: Realm
 
typeRep :: TypeRep
 

mkDyn :: (TRealm r, Typeable c) => r -> c -> DynValueSource

Make DynValue value-level type, from the pair of Type-level type.

toDyn :: (TRealm r, Typeable c) => Value r c -> DynValueSource

Convert Value to DynValue