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.html
> 
> 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

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to