fst +base

fst :: (a, b) -> a
base Prelude, base Data.Tuple
Extract the first component of a pair.
deRefStablePtr :: StablePtr a -> IO a
base Foreign.StablePtr
Obtain the Haskell value referenced by a stable pointer, i.e., the same value that was passed to the corresponding call to makeStablePtr. If the argument to deRefStablePtr has already been freed using freeStablePtr, the behaviour of deRefStablePtr is undefined.
bufState :: Buffer e -> BufferState
base GHC.IO.Buffer