helpa-0.4.6.0: HELPA - Heavenly Esoteric Little Portable Assembler to esoteric languages

Safe Haskell | None
Language | Haskell2010

HelVM.HelPA.Assembler.Value

# Documentation

data Value a #

Constructors

Literal !a |
Variable !Identifier |

#### Instances

Instances details

Eq a => Eq (Value a) # |
Instance details

Defined in HelVM.HelPA.Assembler.Value

Methods

(==) :: Value a -> Value a -> Bool #

(/=) :: Value a -> Value a -> Bool #

Read a => Read (Value a) # |
Instance details

Defined in HelVM.HelPA.Assembler.Value

Methods

readsPrec :: Int -> ReadS (Value a) #

readList :: ReadS [Value a] #

readPrec :: ReadPrec (Value a) #

readListPrec :: ReadPrec [Value a] #

Show a => Show (Value a) # |
Instance details

Defined in HelVM.HelPA.Assembler.Value

Methods

showsPrec :: Int -> Value a -> ShowS #

show :: Value a -> String #

showList :: [Value a] -> ShowS #

type NaturalValue = Value Natural #

type IntegerValue = Value Integer #

type StringValue = Value SString #

toIdentifier :: String -> Identifier #

unwrapIdentifier :: Identifier -> String #

type Identifier = Text #