2 Dec
2003
2 Dec
'03
12:55 p.m.
tis 2003-12-02 klockan 12.55 skrev Johannes Waldmann:
I am looking for an example program that uses System.Console.Readline
http://www.haskell.org/ghc/docs/latest/html/readline/System.Console.Readline...
If my main program looks like this: main = do input <- getContents ; handle input
can I just "drop in" readline somewhere?
Sure. main = do input <- readline "prompt> " ; handle input Regards, Martin