[Hat] Fwd: buggy sorting function

Thomas Davie tatd2 at kent.ac.uk
Fri Sep 16 11:06:42 EDT 2005


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


More information about the Hat mailing list