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.

  1. 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.

  2. TypeNumber :: Type

    hslua-core HsLua.Core.Types

    type of Lua numbers. See Number

  3. fromNumArgs :: NumArgs -> CInt

    hslua-core HsLua.Core.Types

    No documentation available.

  4. fromNumResults :: NumResults -> CInt

    hslua-core HsLua.Core.Types

    No documentation available.

  5. setNumStripes :: Maybe Int -> PoolConfig a -> PoolConfig a

    resource-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.

  6. poolNumStripes :: PoolConfig a -> !Maybe Int

    resource-pool Data.Pool.Internal

    No documentation available.

  7. setNumStripes :: Maybe Int -> PoolConfig a -> PoolConfig a

    resource-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.

  8. setNumStripes :: Maybe Int -> PoolConfig a -> PoolConfig a

    resource-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.

  9. stripeNumber :: Resource a -> !Int

    resource-pool Data.Pool.Introspection

    No documentation available.

  10. data PortNumber

    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
    

Page 188 of many | Previous | Next