-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Opens a temporary file on the system's EDITOR and returns the resulting edits -- -- See https://github.com/yamadapc/haskell-read-editor for more -- information @package read-editor @version 0.1.0.0 module System.ReadEditor -- | Opens a file in the sytem's editor and returns it's contents after -- it's saved. readEditor :: IO String -- | Opens a file in the sytem's editor, waits until it's closed. openEditor :: FilePath -> IO () -- | A version of openEditor which takes the fallback prompt -- question. openEditorWithPrompt :: String -> FilePath -> IO () -- | Prompts for a line and returns it prompt :: String -> IO String -- | Executes a function with an open temporary file Handle. withSystemTempFile :: String -> (FilePath -> Handle -> IO a) -> IO a