user3001932
user3001932

Reputation: 161

Copy from one file to another in haskell

I want to copy all the conetnts of one file to another in haskell . Plz help me to do it in winhugs. Is there any built in function to do so?

Otherwise i need a function to do it which take in input both file names

Upvotes: 0

Views: 632

Answers (1)

viorior
viorior

Reputation: 1803

Try Hoogle

>import System.Directory(copyFile)
>:t copyFile
copyFile :: FilePath -> FilePath -> IO ()

Upvotes: 2

Related Questions