Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. recvRequest :: FirstRequest -> Settings -> Connection -> InternalInfo -> Handle -> SockAddr -> Source -> Transport -> IO (Request, Maybe (IORef Int), IndexedHeader, IO ByteString)

    warp Network.Wai.Handler.Warp.Internal

    Receiving a HTTP request from Connection and parsing its header to create Request.

  2. requestMaxIndex :: Int

    warp Network.Wai.Handler.Warp.Internal

    The size for IndexedHeader for HTTP Request. From 0 to this corresponds to:

    • "Content-Length"
    • "Transfer-Encoding"
    • "Expect"
    • "Connection"
    • "Range"
    • "Host"
    • "If-Modified-Since"
    • "If-Unmodified-Since"
    • "If-Range"
    • "Referer"
    • "User-Agent"
    • "If-Match"
    • "If-None-Match"

  3. writeEq :: Eq a => a -> (a -> Write) -> (a -> Write) -> a -> Write

    blaze-builder Blaze.ByteString.Builder.Internal.Write

    Compare the value to a test value and use the first write action for the equal case and the second write action for the non-equal case.

  4. choiceQ :: forall (m :: Type -> Type) r . MonadPlus m => GenericQ (m r) -> GenericQ (m r) -> GenericQ (m r)

    syb Data.Generics.Aliases

    Choice for monadic queries

  5. geq :: Data a => a -> a -> Bool

    syb Data.Generics.Twins

    Generic equality: an alternative to "deriving Eq"

  6. fileEq :: FilePath -> FilePath -> IO Bool

    extra Extra

    Returns True if both files have the same content. Raises an error if either file is missing.

    fileEq "does_not_exist1" "does_not_exist2" == undefined
    fileEq "does_not_exist" "does_not_exist" == undefined
    withTempFile $ \f1 -> fileEq "does_not_exist" f1 == undefined
    withTempFile $ \f1 -> withTempFile $ \f2 -> fileEq f1 f2
    withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "a" >> fileEq f1 f2
    withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "b" >> notM (fileEq f1 f2)
    

  7. fileEq :: FilePath -> FilePath -> IO Bool

    extra System.IO.Extra

    Returns True if both files have the same content. Raises an error if either file is missing.

    fileEq "does_not_exist1" "does_not_exist2" == undefined
    fileEq "does_not_exist" "does_not_exist" == undefined
    withTempFile $ \f1 -> fileEq "does_not_exist" f1 == undefined
    withTempFile $ \f1 -> withTempFile $ \f2 -> fileEq f1 f2
    withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "a" >> fileEq f1 f2
    withTempFile $ \f1 -> withTempFile $ \f2 -> writeFile f1 "a" >> writeFile f2 "b" >> notM (fileEq f1 f2)
    

  8. bisequenceA1_ :: (Bifoldable1 t, Apply f) => t (f a) (f b) -> f ()

    semigroupoids Data.Semigroup.Bifoldable

    No documentation available.

  9. bisequence1 :: (Bitraversable1 t, Apply f) => t (f a) (f b) -> f (t a b)

    semigroupoids Data.Semigroup.Bitraversable

    No documentation available.

  10. sequenceA1_ :: (Foldable1 t, Apply f) => t (f a) -> f ()

    semigroupoids Data.Semigroup.Foldable

    No documentation available.

Page 171 of many | Previous | Next