Hoogle Search

Within LTS Haskell 24.39 (ghc-9.10.3)

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

  1. readWord8ArrayAsWideChar# :: MutableByteArray# d -> Int# -> State# d -> (# State# d, Char# #)

    base GHC.Base

    Read a 32-bit character; offset in bytes. Warning: this can fail with an unchecked exception.

  2. readWord8OffAddrAsWideChar# :: Addr# -> Int# -> State# d -> (# State# d, Char# #)

    base GHC.Base

    Read a 32-bit character; offset in bytes. Warning: this can fail with an unchecked exception.

  3. void# :: (# #)

    base GHC.Base

    This is an alias for the unboxed unit tuple constructor. In earlier versions of GHC, void# was a value of the primitive type Void#, which is now defined to be (# #).

  4. writeWideCharArray# :: MutableByteArray# d -> Int# -> Char# -> State# d -> State# d

    base GHC.Base

    Write a 32-bit character; offset in 4-byte words. Warning: this can fail with an unchecked exception.

  5. writeWideCharOffAddr# :: Addr# -> Int# -> Char# -> State# d -> State# d

    base GHC.Base

    Write a 32-bit character; offset in 4-byte words. On some platforms, the access may fail for an insufficiently aligned Addr#. Warning: this can fail with an unchecked exception.

  6. writeWord8ArrayAsWideChar# :: MutableByteArray# d -> Int# -> Char# -> State# d -> State# d

    base GHC.Base

    Write a 32-bit character; offset in bytes. Warning: this can fail with an unchecked exception.

  7. writeWord8OffAddrAsWideChar# :: Addr# -> Int# -> Char# -> State# d -> State# d

    base GHC.Base

    Write a 32-bit character; offset in bytes. Warning: this can fail with an unchecked exception.

  8. data ThreadId

    base GHC.Conc

    A ThreadId is an abstract type representing a handle to a thread. ThreadId is an instance of Eq, Ord and Show, where the Ord instance implements an arbitrary total ordering over ThreadIds. The Show instance lets you convert an arbitrary-valued ThreadId to string form; showing a ThreadId value is occasionally useful when debugging or diagnosing the behaviour of a concurrent program. Note: in GHC, if you have a ThreadId, you essentially have a pointer to the thread itself. This means the thread itself can't be garbage collected until you drop the ThreadId. This misfeature would be difficult to correct while continuing to support threadStatus.

  9. ThreadId :: ThreadId# -> ThreadId

    base GHC.Conc

    No documentation available.

  10. mkWeakThreadId :: ThreadId -> IO (Weak ThreadId)

    base GHC.Conc

    Make a weak pointer to a ThreadId. It can be important to do this if you want to hold a reference to a ThreadId while still allowing the thread to receive the BlockedIndefinitely family of exceptions (e.g. BlockedIndefinitelyOnMVar). Holding a normal ThreadId reference will prevent the delivery of BlockedIndefinitely exceptions because the reference could be used as the target of throwTo at any time, which would unblock the thread. Holding a Weak ThreadId, on the other hand, will not prevent the thread from receiving BlockedIndefinitely exceptions. It is still possible to throw an exception to a Weak ThreadId, but the caller must use deRefWeak first to determine whether the thread still exists.

Page 362 of many | Previous | Next