#4316: Multiline commands in GHCi
------------------------------+---------------------------------------------
  Reporter:  mitar            |          Owner:  vivian          
      Type:  feature request  |         Status:  patch           
  Priority:  normal           |      Milestone:  7.2.1           
 Component:  GHCi             |        Version:  6.12.3          
Resolution:                   |       Keywords:                  
  Testcase:                   |      Blockedby:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Blocking:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------

Comment(by mitar):

 Great work. But so my initial idea was lost. ;-(

 I really do not understand - does everybody know exactly in advance the
 whole body of do command they want to execute without having to see
 intermediate results? Because this is why I like to use interactive GHCi,
 to be able to do command by command.

 For example, what I have at hand is a Haskell library for robot control.
 It is based on StateT monad as it requires some internal state. And it
 would be great if I could run that StateT monad and then issue one command
 after the other. And see what happens. Then another command, and
 another...

 In my case it is simply impossible to write whole body in advance and then
 execute it.

 While, for example, in Matlab this is really a joy to do. You can your own
 interactive prompt for commanding your robot.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4316#comment:31>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to