{"type":"rich","url":"https://www.shigemk2.com/entry/20120424/1335204211","blog_title":"by shigemk2","version":"1.0","description":"flet\u3092\u4f7f\u3046 (defun f (x) (* x 2)) (defun g (x) (f x)) (defun i (x) (h x)) (f 9) ; => 18 (g 9) ; => 18 (flet ((f (x) (1+ x)) (h (x) (* 10 x))) (f 9) ; => 10 ;; g\u306e\u5185\u90e8\u3067f\u3092\u547c\u3076 (g 9) ; => 10 ;; i\u306e\u5185\u90e8\u3067h\u3092\u547c\u3076 (ignore-errors (i 4)) ; => 40 ) (defun f (x) (* 2 x)) (f 10) ; => 20 ;; f\u30921+\u306b\u7f6e\u304d\u63db\u3048\u308b (letf (((symbol-function \u2026","width":"100%","title":"\u4e00\u6642\u7684\u306a\u95a2\u6570\u518d\u5b9a\u7fa9","categories":["Emacs Lisp"],"image_url":"http://ecx.images-amazon.com/images/I/51Wg39T8KAL.jpg","height":"190","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/shigemk2/","provider_url":"https://hatena.blog","author_name":"shigemk2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20120424%2F1335204211\" title=\"\u4e00\u6642\u7684\u306a\u95a2\u6570\u518d\u5b9a\u7fa9 - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2012-04-24 03:03:31","blog_url":"https://www.shigemk2.com/"}