Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stg.Prelude.Bool
Description
Boolean functions, like in Data.Bool.
Documentation
Boolean deconstructor.
bool f _ False = f bool _ t True = t
bool : a -> a -> Bool -> a
stgi-1: Educational implementation of the STG (Spineless Tagless G-machine)
Safe Haskell | None |
---|---|
Language | Haskell2010 |
Stg.Prelude.Bool
Description
Boolean functions, like in Data.Bool.
Boolean deconstructor.
bool f _ False = f bool _ t True = t
bool : a -> a -> Bool -> a