Yesterday I had sent certain suggestion for the Haskell prelude. 
Then I recalled it and found it rubbishy.

It concerned changing `Ordering' to `Compare' for the result type 
of `compare' in Haskell 1.3  and the function  foo  having the type
Foo.

Improving a confusion:

`Ordering' is not a type of function `compare', but only of its
result.
So the suggestion might be to call it  Compare_res  instead.

Generally, the result type of  foo  might be called  Foo_res.

This makes sense when the type is designed only as a holder for the  
foo  values.

But now I do not know whether this  Foo_res  worth worrying.

Old Haskell may relax.



S.M.







Reply via email to