[Haskell-cafe] Haskell Debugging
Valentin Gjorgjioski
valentin.gjorgjioski at ijs.si
Wed Nov 15 13:03:54 EST 2006
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 <<<<<<
>>>>>>>>>
>> after reverse
>> { \ ($-990871 : $-990888 : $-990905 : $-990922 : $-990939 : []) ->
>> $-990939 : $-990922 : $-990905 : $-990888 : $-990871 : []
>> }
>>
>
> It's a Hugs bug (Float only, Double is fine). Now fixed in CVS.
>
Oh, thanks a lot. Nice to hear good news.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Valentin Gjorgjioski
Bachelor of Computer Science
Department of Knowledge Technologies, Jozef Stefan Institute
Jamova 39, SI-1000 Ljubljana, Slovenia
Phone: +386 1 477 3343
Fax: +386 1 477 3315
Web: http://kt.ijs.si/ValentinGjorgjioski/
Email: Valentin.Gjorgjioski at ijs.si
More information about the Haskell-Cafe
mailing list