Hoogle Search

Within LTS Haskell 24.7 (ghc-9.10.2)

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

  1. fileChooserGetCurrentFolderURI :: FileChooserClass self => self -> IO String

    gtk3 Graphics.UI.Gtk.Selectors.FileChooser

    Gets the current folder of the chooser as an URI. See fileChooserSetCurrentFolderURI.

  2. readFile :: Interactive m => FilePath -> m String

    cabal-install Distribution.Client.Init.Types

    No documentation available.

  3. mmapFromForeignRegion :: FromForeignRegion a => FilePath -> IO a

    hw-prim HaskellWorks.Data.FromForeignRegion

    No documentation available.

  4. showIO :: ShowIO a => a -> IO String

    tools-yj Text.Show.ToolsYj

    No documentation available.

  5. readUTF8File :: UTF8 a => FilePath -> IO a

    utf8-light Codec.Binary.UTF8.Light

    No documentation available.

  6. readFile :: StringRWIO s => FilePath -> IO s

    string-class Data.String.Class

    Read a file and returns the contents of the file as a string Depending on the instance, this function might expect the file to be non-binary. The default definition uses openFile to open the file.

  7. throwError :: forall e (sig :: (Type -> Type) -> Type -> Type) m a . Has (Throw e) sig m => e -> m a

    fused-effects Control.Effect.Throw

    Throw an error, escaping the current computation up to the nearest catchError (if any).

    runThrow (throwError e >>= k) = runThrow (throwError e)
    

  8. throwEnvelopeErr' :: MonadError (Err e) m => e -> m a

    envelope Web.Envelope

    Like throwEnvelopeErr but without providing a message.

    >>> import Control.Monad.Except (runExcept)
    
    >>> throwEnvelopeErr "BAD_ERROR" "a very bad error occurred!" :: Either (Err String) Int
    Left (Err {errErr = "BAD_ERROR", errExtra = Just "a very bad error occurred!"})
    

  9. replicateT :: Default (Replicator r f) b b => r -> f b

    product-profunctors Data.Profunctor.Product.Examples

    A higher-order generalisation of replicate. For example

    foo :: IO (String, String, String)
    foo = replicateT getLine
    
    > foo
    Hello
    world
    !
    ("Hello","world","!")
    

  10. traverseT :: Default (Traverse f) a b => a -> f b

    product-profunctors Data.Profunctor.Product.Examples

    Use sequenceT instead. It has a better name.

Page 9 of many | Previous | Next