Hoogle Search

Within LTS Haskell 24.26 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. fromBool :: Num a => Bool -> a

    ghc-internal GHC.Internal.Foreign.Marshal.Utils

    Convert a Haskell Bool to its numeric representation

  2. toBool :: (Eq a, Num a) => a -> Bool

    ghc-internal GHC.Internal.Foreign.Marshal.Utils

    Convert a Boolean in numeric representation to a Haskell value

  3. pattern LUA_TBOOLEAN :: TypeCode

    lua Lua

    Type of Lua booleans

  4. newtype LuaBool

    lua Lua

    Boolean value returned by a Lua C API function. This is a CInt and should be interpreted as False iff the value is 0, True otherwise.

  5. LuaBool :: CInt -> LuaBool

    lua Lua

    No documentation available.

  6. lua_isboolean :: State -> StackIndex -> IO LuaBool

    lua Lua

    Returns TRUE if the value at the given index is a boolean, and FALSE otherwise. https://www.lua.org/manual/5.4/manual.html#lua_isboolean

  7. lua_pushboolean :: State -> LuaBool -> IO ()

    lua Lua

    Pushes a boolean value with the given value onto the stack. https://www.lua.org/manual/5.4/manual.html#lua_pushboolean.

  8. lua_toboolean :: State -> StackIndex -> IO LuaBool

    lua Lua

    Converts the Lua value at the given index to a haskell boolean value. Like all tests in Lua, toboolean returns True for any Lua value different from *false* and *nil*; otherwise it returns False. (If you want to accept only actual boolean values, use lua_isboolean to test the value's type.) https://www.lua.org/manual/5.4/manual.html#lua_toboolean

  9. pattern LUA_TBOOLEAN :: TypeCode

    lua Lua.Constants

    Type of Lua booleans

  10. lua_isboolean :: State -> StackIndex -> IO LuaBool

    lua Lua.Primary

    Returns TRUE if the value at the given index is a boolean, and FALSE otherwise. https://www.lua.org/manual/5.4/manual.html#lua_isboolean

Page 85 of many | Previous | Next