Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Defining all the classes which represent knowledge-about-theories.
Synopsis
- class HasInputs c where
- inputs :: Lens' c [(QuantityDict, Maybe (RealInterval Expr Expr))]
- class HasOutput c where
- output :: Getter c QuantityDict
- out_constraints :: Getter c [RealInterval Expr Expr]
Documentation
class HasInputs c where Source #
Members of this class may have inputs.
inputs :: Lens' c [(QuantityDict, Maybe (RealInterval Expr Expr))] Source #
Provides a Lens
that holds a QuantityDict
and maybe constraints.
Instances
HasInputs InstanceModel Source # | Finds the inputs of an |
Defined in Theory.Drasil.InstanceModel inputs :: Lens' InstanceModel [(QuantityDict, Maybe (RealInterval Expr Expr))] Source # |
class HasOutput c where Source #
Members of this class may have outputs.
output :: Getter c QuantityDict Source #
Provides a Getter
that holds a QuantityDict
for output.
out_constraints :: Getter c [RealInterval Expr Expr] Source #
Provides a Getter
that holds constraints on the output.
Instances
HasOutput DataDefinition Source # | Finds the output variable of the |
Defined in Theory.Drasil.DataDefinition output :: Getter DataDefinition QuantityDict Source # out_constraints :: Getter DataDefinition [RealInterval Expr Expr] Source # | |
HasOutput InstanceModel Source # | Finds the outputs and output constraints of an |
Defined in Theory.Drasil.InstanceModel output :: Getter InstanceModel QuantityDict Source # out_constraints :: Getter InstanceModel [RealInterval Expr Expr] Source # |