Instant is
off
|
Search plugin
|
Manual
|
haskell.org
writeFile
-base
Packages
base
bytestring
text
writeFile
:: FilePath -> ByteString -> IO ()
bytestring
Data.ByteString
,
bytestring
Data.ByteString.Char8
,
bytestring
Data.ByteString.Lazy
,
bytestring
Data.ByteString.Lazy.Char8
Write a
ByteString
to a file.
writeFile
:: FilePath -> Text -> IO ()
text
Data.Text.IO
,
text
Data.Text.Lazy.IO
Write a string to a file. The file is truncated to zero length before writing begins.
©
Neil Mitchell
2004-2012, version 4.2.11