glsl-0.0.1.0: Parser and optimizer for a small subset of GLSL
Safe HaskellNone
LanguageHaskell2010

Language.GLSL.Runtime.Value

Documentation

data Proc Source #

Constructors

Proc [ParamDecl] [StmtAnnot ()] 

newtype EvalResult a Source #

Constructors

EvalResult 

Fields

Instances

Instances details
Monad EvalResult Source # 
Instance details

Defined in Language.GLSL.Runtime.Value

Methods

(>>=) :: EvalResult a -> (a -> EvalResult b) -> EvalResult b #

(>>) :: EvalResult a -> EvalResult b -> EvalResult b #

return :: a -> EvalResult a #

Functor EvalResult Source # 
Instance details

Defined in Language.GLSL.Runtime.Value

Methods

fmap :: (a -> b) -> EvalResult a -> EvalResult b #

(<$) :: a -> EvalResult b -> EvalResult a #

MonadFail EvalResult Source # 
Instance details

Defined in Language.GLSL.Runtime.Value

Methods

fail :: String -> EvalResult a #

Applicative EvalResult Source # 
Instance details

Defined in Language.GLSL.Runtime.Value

Methods

pure :: a -> EvalResult a #

(<*>) :: EvalResult (a -> b) -> EvalResult a -> EvalResult b #

liftA2 :: (a -> b -> c) -> EvalResult a -> EvalResult b -> EvalResult c #

(*>) :: EvalResult a -> EvalResult b -> EvalResult b #

(<*) :: EvalResult a -> EvalResult b -> EvalResult a #

data Value Source #

Instances

Instances details
Eq Value Source # 
Instance details

Defined in Language.GLSL.Runtime.Value

Methods

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

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

Show Value Source # 
Instance details

Defined in Language.GLSL.Runtime.Value

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #