branch: externals/dash commit 81ef1efa63590db02351cd52d2953717bde8dd00 Author: holomorph <mvote...@udel.edu> Commit: Matus Goljer <dota.k...@gmail.com>
Replace string-to-int with string-to-number (#216) string-to-int was declared obsolete in Emacs 22.1, and has been removed for the eventual 26.1 release. --- dev/examples.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/examples.el b/dev/examples.el index 092e57e..7487292 100644 --- a/dev/examples.el +++ b/dev/examples.el @@ -1149,10 +1149,10 @@ new list." (defexamples -prodfn (funcall (-prodfn '1+ '1- 'int-to-string) '(1 2 3)) => '(2 1 "3") (-map (-prodfn '1+ '1-) '((1 2) (3 4) (5 6) (7 8))) => '((2 1) (4 3) (6 5) (8 7)) - (apply '+ (funcall (-prodfn 'length 'string-to-int) '((1 2 3) "15"))) => 18 + (apply '+ (funcall (-prodfn 'length 'string-to-number) '((1 2 3) "15"))) => 18 (let ((f '1+) (g '1-) - (ff 'string-to-int) + (ff 'string-to-number) (gg 'length) (input '(1 2)) (input2 "foo")