FilePath moved from PrelHandle to PrelIOBase
%*********************************************************
%* *
-\subsection{Types @FilePath@, @Handle@, @Handle__@}
+\subsection{Types @Handle@, @Handle__@}
%* *
%*********************************************************
The @Handle@ and @Handle__@ types are defined in @IOBase@.
\begin{code}
-type FilePath = String
-
{-# INLINE newHandle #-}
{-# INLINE readHandle #-}
{-# INLINE writeHandle #-}
return (IOError Nothing iot call_site msg)
\end{code}
+File names are specified using @FilePath@, a OS-dependent
+string that (hopefully, I guess) maps to an accessible file/object.
+
+\begin{code}
+type FilePath = String
+\end{code}
+
%*********************************************************
%* *
\subsection{Types @Handle@, @Handle__@}
haFO__ :: FILE_OBJECT,
haType__ :: Handle__Type,
haBufferMode__ :: BufferMode,
- haFilePath__ :: String
+ haFilePath__ :: FilePath
}
{-