[Haskell-beginners] How to interact with a process
Martin Drautzburg
Martin.Drautzburg at web.de
Wed Jan 30 23:32:13 CET 2013
On Tuesday, 29. January 2013 11:01:30 Miguel Negrao wrote:
>
> main = forever readFromConsole
>
> readFromConsole = do
> in <- getLine
> processInput in
>
> processInput “start” = startMidi
> processInput “stop” = stopMidi
>
> where startMidi and stopMidi are functions.
How to implement these functions is exactly my problem.
--
Martin
More information about the Beginners
mailing list