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.
tonumber :: StackIndex -> LuaE e (Maybe Number)hslua-core HsLua.Core Converts the Lua value at the given index to a Number. The Lua value must be a number or a string convertible to a number; otherwise, tonumber returns Nothing. Wraps lua_tonumberx. See also lua_tonumber.
-
hslua-core HsLua.Core.Types type of Lua numbers. See Number
fromNumArgs :: NumArgs -> CInthslua-core HsLua.Core.Types No documentation available.
fromNumResults :: NumResults -> CInthslua-core HsLua.Core.Types No documentation available.
setNumStripes :: Maybe Int -> PoolConfig a -> PoolConfig aresource-pool Data.Pool Set the number of stripes in the pool. If set to Nothing (the default value), the pool will create the amount of stripes equal to the number of capabilities. This ensures that threads never compete over access to the same stripe and results in a very good performance in a multi-threaded environment.
poolNumStripes :: PoolConfig a -> !Maybe Intresource-pool Data.Pool.Internal No documentation available.
setNumStripes :: Maybe Int -> PoolConfig a -> PoolConfig aresource-pool Data.Pool.Internal Set the number of stripes in the pool. If set to Nothing (the default value), the pool will create the amount of stripes equal to the number of capabilities. This ensures that threads never compete over access to the same stripe and results in a very good performance in a multi-threaded environment.
setNumStripes :: Maybe Int -> PoolConfig a -> PoolConfig aresource-pool Data.Pool.Introspection Set the number of stripes in the pool. If set to Nothing (the default value), the pool will create the amount of stripes equal to the number of capabilities. This ensures that threads never compete over access to the same stripe and results in a very good performance in a multi-threaded environment.
stripeNumber :: Resource a -> !Intresource-pool Data.Pool.Introspection No documentation available.
-
network-bsd Network.BSD Port number. Use the Num instance (i.e. use a literal) to create a PortNumber value.
>>> 1 :: PortNumber 1 >>> read "1" :: PortNumber 1 >>> show (12345 :: PortNumber) "12345" >>> 50000 < (51000 :: PortNumber) True >>> 50000 < (52000 :: PortNumber) True >>> 50000 + (10000 :: PortNumber) 60000