looking for System.Console.Readline example

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Tue Dec 2 12:55:21 EST 2003


I am looking for an example program
that uses System.Console.Readline

http://www.haskell.org/ghc/docs/latest/html/readline/System.Console.Readline.html

If my main program looks like this:
main = do input <- getContents ; handle input

can I just "drop in" readline somewhere?
-- 
-- Johannes Waldmann,  Tel/Fax: (0341) 3076 6479 / 6480 --
------ http://www.imn.htwk-leipzig.de/~waldmann/ ---------




More information about the Haskell mailing list