Fpr the Revised Haskell 98 report, Russell O'Connor suggests: | Also, I understand you are reluctant to make library changes, | but sinh and cosh can easily be defined in terms of exp | | sinh x = (exp(x) - exp(-x))/2 | cosh x = (exp(x) + exp(-x))/2 | | (source: Calculus Third Edition by Michael Spivak, page 349, | or any decent calculus book) | | I suggest removing sinh and cosh from the minimal complete | definition, and add the above defaults.
This looks pretty reasonable to me. We should have default methods for anything we can. Comments? Simon _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell