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 : $-990888 : $-990905 :
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
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
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
after reverse
{ \
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
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 works fine. any
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
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