Processing math: 100%
Jikka-5.0.11.1: A transpiler from Python to C++ for competitive programming
Safe HaskellNone
LanguageHaskell2010

Jikka.RestrictedPython.Language.Value

Synopsis

Documentation

data Value Source #

Value is the values of our restricted Python-like language.

v::=,2,1,0,1,2,|false,true|nil|cons(v,v)|(v,v,,v)|λμxxx.e|builtin

Instances

Instances details
Eq Value Source # 
Instance details

Defined in Jikka.RestrictedPython.Language.Value

Methods

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

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

Ord Value Source # 
Instance details

Defined in Jikka.RestrictedPython.Language.Value

Methods

compare :: Value -> Value -> Ordering #

(<) :: Value -> Value -> Bool #

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

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

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

max :: Value -> Value -> Value #

min :: Value -> Value -> Value #

Read Value Source # 
Instance details

Defined in Jikka.RestrictedPython.Language.Value

Show Value Source # 
Instance details

Defined in Jikka.RestrictedPython.Language.Value

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

newtype Local Source #

Constructors

Local 

Instances

Instances details
Eq Local Source # 
Instance details

Defined in Jikka.RestrictedPython.Language.Value

Methods

(==) :: Local -> Local -> Bool #

(/=) :: Local -> Local -> Bool #

Ord Local Source # 
Instance details

Defined in Jikka.RestrictedPython.Language.Value

Methods

compare :: Local -> Local -> Ordering #

(<) :: Local -> Local -> Bool #

(<=) :: Local -> Local -> Bool #

(>) :: Local -> Local -> Bool #

(>=) :: Local -> Local -> Bool #

max :: Local -> Local -> Local #

min :: Local -> Local -> Local #

Read Local Source # 
Instance details

Defined in Jikka.RestrictedPython.Language.Value

Show Local Source # 
Instance details

Defined in Jikka.RestrictedPython.Language.Value

Methods

showsPrec :: Int -> Local -> ShowS #

show :: Local -> String #

showList :: [Local] -> ShowS #