Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. setSize :: IODevice a => a -> Integer -> IO ()

    base GHC.IO.Device

    change the size of the data.

  2. setFileSystemEncoding :: TextEncoding -> IO ()

    base GHC.IO.Encoding

    No documentation available.

  3. setForeignEncoding :: TextEncoding -> IO ()

    base GHC.IO.Encoding

    No documentation available.

  4. setLocaleEncoding :: TextEncoding -> IO ()

    base GHC.IO.Encoding

    Set locale encoding for your program. The locale affects how Chars are encoded and decoded when serialized to bytes: e. g., when you read or write files (readFile', writeFile) or use standard input/output (getLine, putStrLn). For instance, if your program prints non-ASCII characters, it is prudent to execute

    setLocaleEncoding utf8
    
    This is necessary, but not enough on Windows, where console is a stateful device, which needs to be configured using System.Win32.Console.setConsoleOutputCP and restored back afterwards. These intricacies are covered by code-page package, which offers a crossplatform System.IO.CodePage.withCodePage bracket. Wrong locale encoding typically causes error messages like "invalid argument (cannot decode byte sequence starting from ...)" or "invalid argument (cannot encode character ...)".

  5. setState# :: BufferCodec from to state -> state -> IO ()

    base GHC.IO.Encoding

    No documentation available.

  6. setState# :: BufferCodec from to state -> state -> IO ()

    base GHC.IO.Encoding.Types

    No documentation available.

  7. setNonBlockingMode :: FD -> Bool -> IO FD

    base GHC.IO.FD

    No documentation available.

  8. setState# :: BufferCodec from to state -> state -> IO ()

    base GHC.IO.Handle.Types

    No documentation available.

  9. setAffinity :: ParFlags -> Bool

    base GHC.RTS.Flags

    No documentation available.

  10. setFinalizerExceptionHandler :: (SomeException -> IO ()) -> IO ()

    base GHC.Weak

    Set the global action called to report exceptions thrown by weak pointer finalizers to the user.

Page 128 of many | Previous | Next