Re: [Haskell-beginners] main: <<loop>> ....?
Is there a way to disable haskell automatic infinite loop detection .. that might make it simpler to figure out where it is happening by just looking at the trace-output in stdout.. Thanks On Mon, Aug 22, 2011 at 1:06 PM, David Virebayre <dav.vire+haskell@gmail.com> wrote:
2011/8/22 Sunil S Nandihalli <sunil.nandihalli@gmail.com>:
Hello everybody, main: <<loop>> -> where did this come from. I know I am not printing
Your program has an endless loop that was detected by ghc.
David.
Shory answer: no. Longer answer: google the halting problem :) No links because I am on my phone... On 22 Aug 2011 09:11, "Sunil S Nandihalli" <sunil.nandihalli@gmail.com> wrote:
Is there a way to disable haskell automatic infinite loop detection .. that might make it simpler to figure out where it is happening by just looking at the trace-output in stdout..
Thanks
On Mon, Aug 22, 2011 at 1:06 PM, David Virebayre <dav.vire+haskell@gmail.com> wrote:
2011/8/22 Sunil S Nandihalli <sunil.nandihalli@gmail.com>:
Hello everybody, main: <<loop>> -> where did this come from. I know I am not printing
Your program has an endless loop that was detected by ghc.
David.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
you r right it is hard to determine if a program will terminate .. I don't understand why that should make it impossible to disable infinite loop detection.. Thanks, Sunil. On Mon, Aug 22, 2011 at 1:43 PM, Benjamin Edwards <edwards.benj@gmail.com> wrote:
Shory answer: no. Longer answer: google the halting problem :)
No links because I am on my phone...
On 22 Aug 2011 09:11, "Sunil S Nandihalli" <sunil.nandihalli@gmail.com> wrote:
Is there a way to disable haskell automatic infinite loop detection .. that might make it simpler to figure out where it is happening by just looking at the trace-output in stdout..
Thanks
On Mon, Aug 22, 2011 at 1:06 PM, David Virebayre <dav.vire+haskell@gmail.com> wrote:
2011/8/22 Sunil S Nandihalli <sunil.nandihalli@gmail.com>:
Hello everybody, main: <<loop>> -> where did this come from. I know I am not printing
Your program has an endless loop that was detected by ghc.
David.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (2)
-
Benjamin Edwards -
Sunil S Nandihalli