Hello,

please consider the following program:

    main = putChar 'A' >> main

I load this into GHCi, enter :step main, followed by :step and a second :step.  
Although I would expect to get the As in the output step by step, GHCi now 
hangs inside the infinite loop.  Is this intentional?  To me, this seems 
rather weird.  I wanted to use GHCi’s debugger to find the reason for an 
infinite recursion but from my experience it looks as if this might not be 
possible. :-( 

Best wishes,
Wolfgang
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to