Haskell 98 - Standard Prelude - Floating Class
Mon, 15 Oct 2001 05:58:10 -0700
Fpr the Revised Haskell 98 report, Russell O'Connor suggests:
| Also, I understand you are reluctant to make library changes,=20
| but sinh and cosh can easily be defined in terms of exp
| sinh x =3D (exp(x) - exp(-x))/2
| cosh x =3D (exp(x) + exp(-x))/2
| (source: Calculus Third Edition by Michael Spivak, page 349,=20
| or any decent calculus book)
| I suggest removing sinh and cosh from the minimal complete=20
| definition, and add the above defaults.
This looks pretty reasonable to me. We should have default methods
for anything we can.