diff options
author | Christian Persch <chpe@gnome.org> | 2011-11-24 23:10:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-12-19 01:15:19 +0100 |
commit | 3cc21d7995313782f6def1789ca0150e95c8363f (patch) | |
tree | 03bd90ee8cd6ee5db3c164e9cf85ae74f0e9d596 /module | |
parent | a6ea740b3ca1174cc4414ef9b03659fe259d0fe6 (diff) |
Add a deprecated alias for $expt
* module/ice-9/deprecated.scm: Add alias for $expt. $expt was removed
in commit 6fc4d0124d633d1b3ddc5af82967f23bd17556f8 but no deprecated
alias was added in ad79736c68a803a59814fbfc0cb4b092c2b4cddf like for
all the other deprecated $sin, $cos, ... functions.
Diffstat (limited to 'module')
-rw-r--r-- | module/ice-9/deprecated.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/ice-9/deprecated.scm b/module/ice-9/deprecated.scm index f4ae2e365..4628bab98 100644 --- a/module/ice-9/deprecated.scm +++ b/module/ice-9/deprecated.scm @@ -26,6 +26,7 @@ $sqrt $abs $exp + $expt $log $sin $cos @@ -300,6 +301,10 @@ (issue-deprecation-warning "`$exp' is deprecated. Use `exp' instead.") (exp z)) +(define ($expt z1 z2) + (issue-deprecation-warning + "`$expt' is deprecated. Use `expt' instead.") + (expt z1 z2)) (define ($log z) (issue-deprecation-warning "`$log' is deprecated. Use `log' instead.") |