Hoogle Search

Within Stackage Nightly 2026-06-30 (ghc-9.12.4)

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

  1. setUnixMilliseconds :: SetOpts -> Maybe Integer

    hedis Database.Redis.Sentinel

    Set the specified Unix time at which the key will expire, in milliseconds.

  2. setUnixSeconds :: SetOpts -> Maybe Integer

    hedis Database.Redis.Sentinel

    Set the specified Unix time at which the key will expire, in seconds. Since Redis 6.2

  3. setbit :: RedisCtx m f => ByteString -> Integer -> ByteString -> m (f Integer)

    hedis Database.Redis.Sentinel

    Sets or clears the bit at offset in the string value stored at key (http://redis.io/commands/setbit). Since Redis 2.2.0

  4. setex :: RedisCtx m f => ByteString -> Integer -> ByteString -> m (f Status)

    hedis Database.Redis.Sentinel

    Set the value and expiration of a key (http://redis.io/commands/setex). Regarded as deprected since 2.6 as it can be replaced by SET with the EX argument when migrating or writing new code. Since Redis 2.0.0

  5. setnx :: RedisCtx m f => ByteString -> ByteString -> m (f Bool)

    hedis Database.Redis.Sentinel

    O(1) Sets the value of a key, only if the key does not exist (http://redis.io/commands/setnx). Returns a result if a value was set. Since Redis 1.0.0

  6. setrange :: RedisCtx m f => ByteString -> Integer -> ByteString -> m (f Integer)

    hedis Database.Redis.Sentinel

    Overwrite part of a string at key starting at the specified offset (http://redis.io/commands/setrange). Returns the lenght of the string after it was modified. Since Redis 2.2.0

  7. setComp :: Strategy r => Comp -> Array r ix e -> Array r ix e

    massiv Data.Massiv.Array

    Set computation strategy for this array

    Example

    >>> :set -XTypeApplications
    
    >>> import Data.Massiv.Array
    
    >>> a = singleton @DL @Ix1 @Int 0
    
    >>> a
    Array DL Seq (Sz1 1)
    [ 0 ]
    
    >>> setComp (ParN 6) a -- use 6 capabilities
    Array DL (ParN 6) (Sz1 1)
    [ 0 ]
    

  8. setComp :: Strategy r => Comp -> Array r ix e -> Array r ix e

    massiv Data.Massiv.Core

    Set computation strategy for this array

    Example

    >>> :set -XTypeApplications
    
    >>> import Data.Massiv.Array
    
    >>> a = singleton @DL @Ix1 @Int 0
    
    >>> a
    Array DL Seq (Sz1 1)
    [ 0 ]
    
    >>> setComp (ParN 6) a -- use 6 capabilities
    Array DL (ParN 6) (Sz1 1)
    [ 0 ]
    

  9. setDim' :: (HasCallStack, Index ix) => ix -> Dim -> Int -> ix

    massiv Data.Massiv.Core.Index

    Change the value of a specific dimension within the index. See setDimM for a safer version and setDimension for a type safe version.

    Examples

    >>> setDim' (2 :> 3 :> 4 :. 5) 3 10
    2 :> 10 :> 4 :. 5
    

  10. setDimM :: (Index ix, MonadThrow m) => ix -> Dim -> Int -> m ix

    massiv Data.Massiv.Core.Index

    Set the value for an index at specified dimension.

Page 60 of many | Previous | Next