GHCi.Utils

ghci-9.14.0.20251028: The library supporting GHC's interactive interpreter

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHCi.Utils

Synopsis

- getGhcHandle :: CInt -> IO Handle
- readGhcHandle :: String -> IO Handle

# Documentation

getGhcHandle :: CInt -> IO Handle Source #

Gets a GHC Handle File description from the given OS Handle or POSIX fd.

readGhcHandle :: String -> IO Handle Source #

Read a handle passed on the command-line and prepare it to be used with the IO manager