[Haskell-cafe] Hoogle

Antoine Latter aslatter at gmail.com
Wed Apr 16 14:46:45 EDT 2008


2008/4/16 Galchin, Vasili <vigalchin at gmail.com>:
> Hello,
>
>       I tried d to use Hoogle to find openFd's signature and more
> importantly FileMode. I found FileMode which is  a type synonym with CMode.
> I don't understand what are the "values" for FileMode (so I can call
> openFd). ??

Values of type FileMode are defined in System.Posix.Files

See http://haskell.org/ghc/docs/latest/html/libraries/unix/System-Posix-Files.html#1
for the defintions.

Does that help?

-Antoine


More information about the Haskell-Cafe mailing list