Re: [Haskell-cafe] Haskell Debugging

2006-11-15 Thread Valentin Gjorgjioski
On 15.11.2006 17:38 Ross Paterson wrote: On Mon, Nov 13, 2006 at 04:32:34PM +0100, Valentin Gjorgjioski wrote: import Hugs.Observe ex8 :: [Float] ex8 = (observe "after reverse" ) reverse [10.0,7.0,3.0,0.0,4.0] gives me ex8 [4.0,0.0,3.0,7.0,10.0] Observations <<

Re: [Haskell-cafe] Haskell Debugging

2006-11-15 Thread Ross Paterson
On Mon, Nov 13, 2006 at 04:32:34PM +0100, Valentin Gjorgjioski wrote: > import Hugs.Observe > > ex8 :: [Float] > ex8 = (observe "after reverse" ) reverse [10.0,7.0,3.0,0.0,4.0] > > gives me > > >ex8 > [4.0,0.0,3.0,7.0,10.0] > > >>> Observations << > > after reverse > { \ ($-990871 :

Re: [Haskell-cafe] Haskell Debugging

2006-11-14 Thread Cale Gibbard
On 14/11/06, Cale Gibbard <[EMAIL PROTECTED]> wrote: On 14/11/06, Valentin Gjorgjioski <[EMAIL PROTECTED]> wrote: > Just one more thing > > If I write > > ex9 :: [Float] > ex9 = (observe "after reverse" ) reverse [10.0,7.0,3.0,0.0,4.0] > > it doesn't work. If I delete ex9 :: [Float] then it wor

Re: [Haskell-cafe] Haskell Debugging

2006-11-14 Thread Cale Gibbard
On 14/11/06, Valentin Gjorgjioski <[EMAIL PROTECTED]> wrote: Just one more thing If I write ex9 :: [Float] ex9 = (observe "after reverse" ) reverse [10.0,7.0,3.0,0.0,4.0] it doesn't work. If I delete ex9 :: [Float] then it works fine. any suggestions? This doesn't happen for me. The only t

Re: [Haskell-cafe] Haskell Debugging

2006-11-14 Thread Valentin Gjorgjioski
On 14.11.2006 23:17 Cale Gibbard wrote: On 13/11/06, Valentin Gjorgjioski <[EMAIL PROTECTED]> wrote: Following example import Hugs.Observe ex8 :: [Float] ex8 = (observe "after reverse" ) reverse [10.0,7.0,3.0,0.0,4.0] gives me >ex8 [4.0,0.0,3.0,7.0,10.0] >>> Observations << aft

Re: [Haskell-cafe] Haskell Debugging

2006-11-14 Thread Cale Gibbard
On 13/11/06, Valentin Gjorgjioski <[EMAIL PROTECTED]> wrote: I'm pretty new in Haskell, few days since I started learning it. I want to debu my programs. I'm currently using WinHugs, and I prefer debugger for this. I tried googling and I found Hugs.Observer. I like it how it works, but still I

Re: [Haskell-cafe] Haskell Debugging

2006-11-13 Thread Bernie Pope
On 14/11/2006, at 3:29 AM, Valentin Gjorgjioski wrote: On 13.11.2006 16:54 Valentin Gjorgjioski wrote: On 13.11.2006 16:48 Pepe Iborra wrote: Hi Valentin Please, take a look at the Haskell Wiki page for debugging. http://haskell.org/haskellwiki/Debugging You will find that thanks to Neil M

Re: [Haskell-cafe] Haskell Debugging

2006-11-13 Thread Pepe Iborra
Can you manage to compile GHC under Windows? Compiling GHC under Windows is known to be a bit tricky and time consuming, certainly not for the novice user, although the steps are well detailed in the GHC developer documentation. If so, I'd encourage you to play with the Ghci Debugger projec

Re: [Haskell-cafe] Haskell Debugging

2006-11-13 Thread Valentin Gjorgjioski
On 13.11.2006 16:54 Valentin Gjorgjioski wrote: On 13.11.2006 16:48 Pepe Iborra wrote: Hi Valentin Please, take a look at the Haskell Wiki page for debugging. http://haskell.org/haskellwiki/Debugging You will find that thanks to Neil Mitchell there is a Windows version of Hat available. Perh

Re: [Haskell-cafe] Haskell Debugging

2006-11-13 Thread Valentin Gjorgjioski
On 13.11.2006 16:48 Pepe Iborra wrote: Hi Valentin Please, take a look at the Haskell Wiki page for debugging. http://haskell.org/haskellwiki/Debugging You will find that thanks to Neil Mitchell there is a Windows version of Hat available. Perhaps you can add your experiences with it if it w

Re: [Haskell-cafe] Haskell Debugging

2006-11-13 Thread Pepe Iborra
Hi Valentin Please, take a look at the Haskell Wiki page for debugging. http://haskell.org/haskellwiki/Debugging You will find that thanks to Neil Mitchell there is a Windows version of Hat available. Perhaps you can add your experiences with it if it works for you. pepe On 13/11/2006, a

[Haskell-cafe] Haskell Debugging

2006-11-13 Thread Valentin Gjorgjioski
I'm pretty new in Haskell, few days since I started learning it. I want to debu my programs. I'm currently using WinHugs, and I prefer debugger for this. I tried googling and I found Hugs.Observer. I like it how it works, but still I have one BIG problem with it. It doesn't work well with flo