Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. setInput :: BEncode -> BParser ()

    bencode Data.BEncode.Parser

    No documentation available.

  2. setupPP :: PackagePath -> Bool

    cabal-install-solver Distribution.Solver.Modular.Package

    Is the package a dependency of a setup script. This is used to establish whether or not certain constraints should apply to this dependency (grep setupPP to see the use sites).

  3. setupDeps :: Monoid a => ComponentDeps a -> a

    cabal-install-solver Distribution.Solver.Types.ComponentDeps

    Setup dependencies.

  4. setDefaultExpiration :: Cache k v -> Maybe TimeSpec -> Cache k v

    cache Data.Cache

    Change the default expiration value of newly added cache items. See newCache for more information on the default expiration value.

  5. setMB :: Int -> Approx -> Approx

    cdar-mBound Data.CDAR.Approx

    No documentation available.

  6. setCookie :: MonadCGI m => Cookie -> m ()

    cgi Network.CGI

    Set a cookie.

  7. setHeader :: MonadCGI m => String -> String -> m ()

    cgi Network.CGI

    Add a response header. Example:

    setHeader "Content-type" "text/plain"
    

  8. setStatus :: MonadCGI m => Int -> String -> m ()

    cgi Network.CGI

    Set the HTTP response status.

  9. setSlice :: forall a (m :: Natural) (i :: Natural) (n :: Nat) . (BitPack a, BitSize a ~ ((m + 1) + i)) => SNat m -> SNat n -> BitVector ((m + 1) - n) -> a -> a

    clash-prelude Clash.Class.BitPack

    Set the bits between bit index m and bit index n. NB: Bit indices are DESCENDING.

    >>> pack (-5 :: Signed 6)
    0b11_1011
    
    >>> setSlice d4 d3 0 (-5 :: Signed 6)
    -29
    
    >>> pack (-29 :: Signed 6)
    0b10_0011
    
    >>> setSlice d6 d5 0 (-5 :: Signed 6)
    <interactive>:...
    • Couldn't match type ‘7 + i0’ with ‘6’
    arising from a use of ‘setSlice’
    The type variable ‘i0’ is ambiguous
    • In the expression: setSlice d6 d5 0 (- 5 :: Signed 6)
    In an equation for ‘it’: it = setSlice d6 d5 0 (- 5 :: Signed 6)
    
    # 175 "srcClashClassBitPackBitIndex.hs"

  10. setSlice :: forall a (m :: Natural) (i :: Natural) (n :: Nat) . (BitPack a, BitSize a ~ ((m + 1) + i)) => SNat m -> SNat n -> BitVector ((m + 1) - n) -> a -> a

    clash-prelude Clash.Class.BitPack.BitIndex

    Set the bits between bit index m and bit index n. NB: Bit indices are DESCENDING.

    >>> pack (-5 :: Signed 6)
    0b11_1011
    
    >>> setSlice d4 d3 0 (-5 :: Signed 6)
    -29
    
    >>> pack (-29 :: Signed 6)
    0b10_0011
    
    >>> setSlice d6 d5 0 (-5 :: Signed 6)
    <interactive>:...
    • Couldn't match type ‘7 + i0’ with ‘6’
    arising from a use of ‘setSlice’
    The type variable ‘i0’ is ambiguous
    • In the expression: setSlice d6 d5 0 (- 5 :: Signed 6)
    In an equation for ‘it’: it = setSlice d6 d5 0 (- 5 :: Signed 6)
    
    # 175 "srcClashClassBitPackBitIndex.hs"

Page 471 of many | Previous | Next