Hoogle Search
Within LTS Haskell 24.50 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromNumResults :: NumResults -> CIntlua Lua No documentation available.
lua_isnumber :: State -> StackIndex -> IO LuaBoollua Lua Returns TRUE if the value at the given index is a number or a string convertible to a number, and FALSE otherwise. https://www.lua.org/manual/5.4/manual.html#lua_isnumber
lua_pushnumber :: State -> Number -> IO ()lua Lua Pushes a float with the given value onto the stack. https://www.lua.org/manual/5.4/manual.html#lua_pushnumber.
lua_stringtonumber :: State -> CString -> IO CSizelua Lua Converts the zero-terminated string s to a number, pushes that number into the stack, and returns the total size of the string, that is, its length plus one. The conversion can result in an integer or a float, according to the lexical conventions of Lua (see §3.1). The string may have leading and trailing spaces and a sign. If the string is not a valid numeral, returns 0 and pushes nothing. (Note that the result can be used as a boolean, true if the conversion succeeds.) https://www.lua.org/manual/5.4/manual.html#lua_stringtonumber.
lua_tonumberx :: State -> StackIndex -> Ptr LuaBool -> IO Numberlua Lua Converts the Lua value at the given index to the C type lua_Number (see lua_Number). The Lua value must be a number or a string convertible to a number (see §3.4.3); otherwise, lua_tonumberx returns 0. If isnum is not NULL, its referent is assigned a boolean value that indicates whether the operation succeeded. https://www.lua.org/manual/5.4/manual.html#lua_tonumberx
pattern
LUA_TNUMBER :: TypeCodelua Lua.Constants Type of Lua numbers. See Number
lua_isnumber :: State -> StackIndex -> IO LuaBoollua Lua.Primary Returns TRUE if the value at the given index is a number or a string convertible to a number, and FALSE otherwise. https://www.lua.org/manual/5.4/manual.html#lua_isnumber
lua_pushnumber :: State -> Number -> IO ()lua Lua.Primary Pushes a float with the given value onto the stack. https://www.lua.org/manual/5.4/manual.html#lua_pushnumber.
lua_stringtonumber :: State -> CString -> IO CSizelua Lua.Primary Converts the zero-terminated string s to a number, pushes that number into the stack, and returns the total size of the string, that is, its length plus one. The conversion can result in an integer or a float, according to the lexical conventions of Lua (see §3.1). The string may have leading and trailing spaces and a sign. If the string is not a valid numeral, returns 0 and pushes nothing. (Note that the result can be used as a boolean, true if the conversion succeeds.) https://www.lua.org/manual/5.4/manual.html#lua_stringtonumber.
lua_tonumberx :: State -> StackIndex -> Ptr LuaBool -> IO Numberlua Lua.Primary Converts the Lua value at the given index to the C type lua_Number (see lua_Number). The Lua value must be a number or a string convertible to a number (see §3.4.3); otherwise, lua_tonumberx returns 0. If isnum is not NULL, its referent is assigned a boolean value that indicates whether the operation succeeded. https://www.lua.org/manual/5.4/manual.html#lua_tonumberx