Safe Haskell | None |
---|---|
Language | Haskell2010 |
Language.Fortran.Repr.Value.Machine
Synopsis
- data FValue = MkFScalarValue FScalarValue
- fValueType :: FValue -> FType
- fromConstInt :: FValue -> Maybe Integer
- fromConstReal :: FValue -> Maybe Double
Documentation
A Fortran value (scalar only currently).
Constructors
MkFScalarValue FScalarValue |
Instances
Out FValue Source # | |||||
Data FValue Source # | |||||
Defined in Language.Fortran.Repr.Value.Machine Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FValue -> c FValue # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FValue # toConstr :: FValue -> Constr # dataTypeOf :: FValue -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FValue) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FValue) # gmapT :: (forall b. Data b => b -> b) -> FValue -> FValue # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FValue -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FValue -> r # gmapQ :: (forall d. Data d => d -> u) -> FValue -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> FValue -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> FValue -> m FValue # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FValue -> m FValue # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FValue -> m FValue # | |||||
Generic FValue Source # | |||||
Defined in Language.Fortran.Repr.Value.Machine Associated Types
| |||||
Show FValue Source # | |||||
Binary FValue Source # | |||||
Eq FValue Source # | |||||
MonadReader (Map Name FValue) FEvalValuePure Source # | |||||
Defined in Language.Fortran.Repr.Eval.Value | |||||
type Rep FValue Source # | |||||
Defined in Language.Fortran.Repr.Value.Machine type Rep FValue = D1 ('MetaData "FValue" "Language.Fortran.Repr.Value.Machine" "fortran-src-0.16.5-DEcV9ONnUql6DtSe5HgRpa" 'False) (C1 ('MetaCons "MkFScalarValue" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FScalarValue))) |
fValueType :: FValue -> FType Source #