Re: binary search

1998-04-16 Thread S. Alexander Jacobson
On Thu, 16 Apr 1998, Simon L Peyton Jones wrote: > > 2. how would I have found/fixed such an error in a more complex function > > w/o assertions and w/o print statements? > > Good questions > > There was a proposal to put assertions into Std Haskell, which we > have implemented in GHC. (I'm

Re: binary search

1998-04-16 Thread Simon L Peyton Jones
> 2. how would I have found/fixed such an error in a more complex function > w/o assertions and w/o print statements? Good questions There was a proposal to put assertions into Std Haskell, which we have implemented in GHC. (I'm not sure we've yet put that version out though.) So assert