idris-0.9.18.1: Functional Programming Language with Dependent Types

Safe HaskellNone
LanguageHaskell98

Util.System

Synopsis

Documentation

catchIO :: IO a -> (IOError -> IO a) -> IO a Source

writeSource :: FilePath -> String -> IO () Source

Write a source file, same as writeFile except the encoding is set to utf-8

readSource :: FilePath -> IO String Source

Read a source file, same as readFile but make sure the encoding is utf-8.