Re: Fwd: buggy sorting function

Thomas Davie <[email protected]> Fri, 16 Sep 2005 16:06:42 +0100
Newsgroups gmane.comp.lang.haskell.hat
Message-ID <[email protected]>
On 16 Sep 2005, at 16:01, Colin Runciman wrote:

> Thomas Davie wrote:
>
>
>> $ ./hellSort
>> [6,4,2,9,10,9,3]
>>
>>> [2,3,4,6,9,10,9]
>>>
>> ^CKilled
>> lappybob:~/Documents/Work/Hat test cases/Hell Sort tatd2$ hat-detect
>> hellSort
>> hat-detect (error): file hellSort.hat is too short
>>
>
> When you hit ^C (once?) did you wait for the .hat file to be  
> patched up
> after the signal was caught?

I didn't, this is a ghc on Mac bug -- ctrl-C doesn't work, you have  
to send it a kill -9 from elsewhere... I just forgot that.  So is the  
likely cause that the file had not been flushed to disk?

Bob