[Haskell-cafe] Hoogle

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Wed Apr 16 19:16:56 EDT 2008


On Apr 16, 2008, at 17:30 , John Goerzen wrote:
> On Wed April 16 2008 3:54:45 pm Galchin, Vasili wrote:
>>    I already found this link. Thanks in any case. I want to  
>> O_CREATE a
>> file, i.e. do a openFd creating a new file. O_CREATE should be the
>> FileMode, but I don't see in the link below.
>
> Indeed.  It seems there is no way to pass O_CREAT to openFile.   
> there is
> createFile, but that's really a different call.  Sigh.

Remember, Haskell is functional; treat the function to call as an  
argument?

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list