Previous chapter: #34: Select Ordering (Clarification)

Dylan Design Notes

Dylan Design Notes: #35: Remove Transcendental Functions (Change)

#35: Remove Transcendental Functions (Change)

Version 1, January 1994
Copyright (c) 1993-1994, Apple Computer
This design note removes the functions sin, cos, tan, asin, acos, atan, atan2, sinh, cosh, tanh, asinh, acosh, atanh, exp, log, and sqrt from core Dylan.
Remove the following functions from the Dylan manual (p. 151)
        sin, cos, tan, asin, acos, atan, atan2,
        sinh, cosh, tanh, asinh, acosh, atanh,
        exp, log, sqrt
Remove the class <rectangular-complex>, and the functions make-rectangular, make-polar, real-part, imag-part, and angle.

Specify that the class <complex> may be subclassed.

Keep expt with the following definition:

expt number1 integer2  [Generic Function]
        => number
Returns number1 raised to the power integer2.

Notes

Removing transcendental functions makes core Dylan slimmer and more elegant, without reducing usefulness for many users. These functions will be made available through a standard library.

Next chapter: #36: Remove Trivial Logical Operators (Change)