Opens a temporary file on the system's EDITOR and returns the resulting edits
Published to hackage as read-editor.
module Main where
import System.ReadEditor
main :: IO ()
main = do
putStrLn ">>> Opening editor for you to write me some content"
content <- readEditor
putStrLn ">>> You wrote:"
putStrLn contentmodule Main where
import System.ReadEditor
main :: IO ()
main = do
putStrLn ">>> Opening editor for you to write me some content"
content <- readEditorWith "Some stuff that's already here"
putStrLn ">>> You wrote:"
putStrLn contentTravis-CI is building this package with GHC versions 7.6, 7.8 and 7.10. If the build status is green, they should all be supported. Check the project page to see more.
This code is licensed under the MIT license for Pedro Tacla Yamada. For more information please refer to the LICENSE file.
Would you like to buy me a beer? Send bitcoin to 3JjxJydvoJjTrhLL86LGMc8cNB16pTAF3y