Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
A mutable or immutable variable
Instances
Eq Variable Source # | |
Ord Variable Source # | |
Defined in Data.Variable | |
Show Variable Source # | |
Generic Variable Source # | |
Serialize Variable Source # | |
type Rep Variable Source # | |
Defined in Data.Variable type Rep Variable = D1 ('MetaData "Variable" "Data.Variable" "foxdec-0.1.0.0-F8J4QQ8bsQELJyhc4kJb0m" 'False) (C1 ('MetaCons "Variable" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String) :*: (S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Int)))) |
data VariableConversion Source #
Copies the value of one variable to another while extracting (or extending) the correct bits
Instances
fromRegister :: Register -> Variable Source #