Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. uniformWord16 :: StatefulGen g m => g -> m Word16

    random System.Random.Stateful

    Generates a Word16 that is uniformly distributed over the entire Word16 range. The default implementation extracts a Word16 from uniformWord32.

  2. uniformWord32 :: StatefulGen g m => g -> m Word32

    random System.Random.Stateful

    Generates a Word32 that is uniformly distributed over the entire Word32 range. The default implementation extracts a Word32 from uniformWord64.

  3. uniformWord32R :: StatefulGen g m => Word32 -> g -> m Word32

    random System.Random.Stateful

    uniformWord32R upperBound g generates a Word32 that is uniformly distributed over the range [0, upperBound].

  4. uniformWord64 :: StatefulGen g m => g -> m Word64

    random System.Random.Stateful

    Generates a Word64 that is uniformly distributed over the entire Word64 range. The default implementation combines two Word32 from uniformWord32 into one Word64.

  5. uniformWord64R :: StatefulGen g m => Word64 -> g -> m Word64

    random System.Random.Stateful

    uniformWord64R upperBound g generates a Word64 that is uniformly distributed over the range [0, upperBound].

  6. uniformWord8 :: StatefulGen g m => g -> m Word8

    random System.Random.Stateful

    Generates a Word8 that is uniformly distributed over the entire Word8 range. The default implementation extracts a Word8 from uniformWord32.

  7. unsafeForeignPtrToStorableArray :: Ix i => ForeignPtr e -> (i, i) -> IO (StorableArray i e)

    array Data.Array.Storable.Internals

    Construct a StorableArray from an arbitrary ForeignPtr. It is the caller's responsibility to ensure that the ForeignPtr points to an area of memory sufficient for the specified bounds.

  8. unsafeForeignPtrToStorableArray :: Ix i => ForeignPtr e -> (i, i) -> IO (StorableArray i e)

    array Data.Array.Unsafe

    Construct a StorableArray from an arbitrary ForeignPtr. It is the caller's responsibility to ensure that the ForeignPtr points to an area of memory sufficient for the specified bounds.

  9. showCommandForUser :: FilePath -> [String] -> String

    process System.Process

    Given a program p and arguments args, showCommandForUser p args returns a string suitable for pasting into /bin/sh (on Unix systems) or CMD.EXE (on Windows).

  10. waitForProcess :: ProcessHandle -> IO ExitCode

    process System.Process

    Waits for the specified process to terminate, and returns its exit code. On Unix systems, may throw UserInterrupt when using delegate_ctlc. GHC Note: in order to call waitForProcess without blocking all the other threads in the system, you must compile the program with -threaded. Note that it is safe to call waitForProcess for the same process in multiple threads. When the process ends, threads blocking on this call will wake in FIFO order. When using delegate_ctlc and the process is interrupted, only the first waiting thread will throw UserInterrupt. (Since: 1.2.0.0) On Unix systems, a negative value ExitFailure -signum indicates that the child was terminated by signal signum. The signal numbers are platform-specific, so to test for a specific signal use the constants provided by System.Posix.Signals in the unix package. Note: core dumps are not reported, use System.Posix.Process if you need this detail.

Page 413 of many | Previous | Next