Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. mapRand :: ((a, g) -> (b, g)) -> Rand g a -> Rand g b

    MonadRandom Control.Monad.Random.Strict

    Map both the return value and final generator of a computation using the given function.

  2. mapRandT :: (m (a, g) -> n (b, g)) -> RandT g m a -> RandT g n b

    MonadRandom Control.Monad.Random.Strict

    Map both the return value and final generator of a computation using the given function.

  3. mapRand :: ((a, g) -> (b, g)) -> Rand g a -> Rand g b

    MonadRandom Control.Monad.Trans.Random.Lazy

    Map both the return value and final generator of a computation using the given function.

  4. mapRandT :: (m (a, g) -> n (b, g)) -> RandT g m a -> RandT g n b

    MonadRandom Control.Monad.Trans.Random.Lazy

    Map both the return value and final generator of a computation using the given function.

  5. mapRand :: ((a, g) -> (b, g)) -> Rand g a -> Rand g b

    MonadRandom Control.Monad.Trans.Random.Strict

    Map both the return value and final generator of a computation using the given function.

  6. mapRandT :: (m (a, g) -> n (b, g)) -> RandT g m a -> RandT g n b

    MonadRandom Control.Monad.Trans.Random.Strict

    Map both the return value and final generator of a computation using the given function.

  7. mappedFileFree :: (HasCallStack, MonadIO m) => MappedFile -> m ()

    gi-glib GI.GLib.Structs.MappedFile

    Deprecated: (Since version 2.22)Use mappedFileUnref instead.

  8. mappedFileGetBytes :: (HasCallStack, MonadIO m) => MappedFile -> m Bytes

    gi-glib GI.GLib.Structs.MappedFile

    Creates a new Bytes which references the data mapped from file. The mapped contents of the file must not be modified after creating this bytes object, because a Bytes should be immutable. Since: 2.34

  9. mappedFileGetContents :: (HasCallStack, MonadIO m) => MappedFile -> m Text

    gi-glib GI.GLib.Structs.MappedFile

    Returns the contents of a MappedFile. Note that the contents may not be zero-terminated, even if the MappedFile is backed by a text file. If the file is empty then Nothing is returned. Since: 2.8

  10. mappedFileGetLength :: (HasCallStack, MonadIO m) => MappedFile -> m CSize

    gi-glib GI.GLib.Structs.MappedFile

    Returns the length of the contents of a MappedFile. Since: 2.8

Page 119 of many | Previous | Next