2021-11-13 page moved to http://xahlee.info/emacs/emacs/elisp_idioms.html You'll be redirected in 10 seconds.
Lispã¯ãã¾ã ä¸é¨å½åã®æå¼·è¨èªã®å°ä½ãä¸åã®ãã®ã«ãã¦ããï¼ã¨æãï¼ããèæ¡ãããã®ã50å¹´ãæã¨ããã®ã«ã¯é©ãããããå¤ä»£ã®ç¥ç§ã¨ããæãã æ´å²ã«ã¯è©³ãããªããã©ãåæã®Lispããlambdaå¼ãGCã£ã¦ãã£ãããªï¼ãã¨ãSchemeã30年以ä¸åã«çã¾ãããã ã£ãããã®ããããã¬ãã·ã«ã«ã¯ãã¼ã¸ã£ã¼ããã£ããã ããããããããªãã Rubyã¯Lispã®é·æãããããã¨ãããããJavaãæè¿ã«ãªã£ã¦ã¯ãã¼ã¸ã£ã¼ãå°å ¥ãããã£ããGCã¯ä»ãªè¨èªã«ã¯ã»ã¼å¿ ãã¨ãã£ã¦ããã»ã©åãã£ã¦ããããããããªè¨èªãLispã«è¿ã¥ããã¨ãã¦ãããããªãLispã®èãæ¹ãããããããªè¨èªãçã¾ãã¦ãé²åã®å ã¯Lispã«å帰ããã¨ãããã¨ã⦠ãã£ããæå¼·è¨èªã®Lispããããªãããããããè¨èªãã©ãã©ãç»å ´ãã¦ãããã¾ã¯ããããããæ¬å¼§ãå«ããªã®ããªãLispã®è¡¨ç¾åã®æºã¯Så¼ã ã¨ããã®ã«æ¬å¼§ãæ
ã¯ããã«ä¸è¨ãããããææ¡ããªãã«ã¡ã½ããçµåã使ãã®ã¯ãææ¾ãã§å¤éç¶æ¿ã使ããããªãã®ã§ããã£ã¨è¨ãéã«ã³ã¼ããææ¡ã§ããªããªãã¾ãã defmethod ã®å®å ¨ãªææ³ã次ã«ç¤ºãã¾ãã defmethod function-name {method-qualifier}* specialized-lambda-list [[declaration* | documentation]] form* ããã§ã¯ defmethod ããã¤ãéãã«ä½¿ãããæ¨æºã¡ã½ããçµå ï¼standard method combinationï¼ã®å®ç¾©ã«ä½¿ããã ããè¦ã¦ããã¾ãï¼ãã®ä»ã®ã¡ã½ããçµåãããã¾ãããèªåã§æ°ããã¡ã½ããçµåãå®ç¾©ãããã¨ãã§ãã¾ãããããã¾ã§ãã人ãè¦ããã¨ã¯ããã¾ããï¼ãæ¨æºã¡ã½ããçµåã§ã¯ã次ã®ãã¼ã¯ã¼ãã®ãã¡ä¸ã¤ã ãæå®ã§ãã¾ãï¼:before, :after, aroun
This is a collaborative project that aims to provide for Common Lisp something similar to the Perl Cookbook published by O'Reilly. More details about what it is and what it isn't can be found in this thread from comp.lang.lisp. The credit for finally giving birth to the project probably goes to "dj_special_ed" who posted this message to comp.lang.lisp. If you want to contribute to the CL Cookbook,
Hofstadterãã¡ã¿ãã¸ãã¯ã»ã²ã¼ã ã ãã³ã¹ãã¼ãã²ã¼ãã«ã¯Lispãæãã¤ãã¦ããã¹ãã ã£ããããå½¼ãLispãæãã¤ãã¦ãããªãã°å½¼ã®ä¸å®å ¨æ§å®çã®è¨¼æã¯ãã£ã¨ç°¡åãªãã®ã«ãªã£ã¦ããã ããã ã²ã¼ãã«ã®è¨¼æã®ä¸çªé£ããã¨ããã¯ãæ°å¦çä½ç³»ã«èªåèªèº«ãèªãããã¨ããã«ããã天æã®ã²ããããä½æ®µéãå¿ è¦ã«ãªããããããLispã¯ãå°ãªãã¨ãã²ã¼ãã«ãå¿ è¦ã¨ãã¦ããæå³ã§ãã¾ãã«èªåèªèº«ãç´æ¥èªããã¨ãã§ãã ã²ã¼ãã«ã¯Lispãçºæããï¼ ä¸å®å ¨æ§å®çã®Lisp, Mathematicaã«ããè¨è¿° åç°è±ä¸ãLispã¸ã®ãã ããã(PDF) Eric S. Raymondãããã«ã¼ã«ãªãããLISP ã¯ããããã¢ãã«ããã¨ãã®ãã°ãããæãä½é¨ã®ããã«åå¼·ãã¾ãããããã®ä½é¨ã¯ããã®å¾ã®äººçã§ããããããã°ã©ãã¼ã¨ãªãæå©ãã¨ãªãã¯ãã§ãããã¨ããå®éã«ã¯ LI
Up: ä¸å®å ¨æ§å®çã®Lisp, Mathematicaã«ããè¨è¿° G. J. Chaitin Godel's Proof of his Incompleteness Theorem ã®ä¾ãMathematicaã¨Common Lispã§æ¸ãç´ãã æºåéå Mathematicaã®å ´å Schemeã®å ´åï¼MIT Schemeï¼ Common Lispã®å ´å ã²ã¼ãã«ã®å®ç Mathematicaã®å ´å Schemeã®å ´åï¼MIT Schemeï¼ Lispã®å ´å ããã¤ãã®ãã©ããã¯ã¹ï¼ããã®æã¯ããã§ããã ã²ã¼ãã«ã®å®çï¼ããã®å½é¡ã¯è¨¼æã§ããªããï¼çãªã®ã«è¨¼æã§ããªãå½é¡ãããï¼ æºåéå ããã¯èªåã®ã³ã¼ããåºåããããã°ã©ã ã®ä¾ã§ããã Mathematicaã®å ´å Mathematicaã§æ¸ãã¨ãã£ã¨ãããããããã ãããã¾ã x -> x[x]
Clojure is a robust, practical, and fast programming language with a set of useful features that together form a simple, coherent, and powerful tool. The Clojure Programming Language Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming.
Emacsãã¾ã ã¤ã³ã¹ãã¼ã«ãã¦ããªã人ã¯ãã¤ã³ã¹ãã¼ã«ãã¦ããããã®å ãèªãã§ãã ããã å¯è½ãªéããJavaã¨ã®å¯¾æ¯ãããªãã説æãã¾ãã ç®æ¬¡ Emacs Lispã¨ã¯ éçºç°å¢ Emacs Lispã®é°å²æ°(Javaã¨ã®æ¯è¼) é¢æ°åè¨èª Emacs Lisp;è¨èªã®åºç¤ ãªãã§ããªãã¸ã§ã¯ã ã·ã³ãã« ã³ã³ã¹ã»ã«(ãªã¹ã) é¢æ° ãã®ä»(é£æ³ãªã¹ãããã¯ã¿ãããã·ã¥ãã¼ãã«) Emacsç¹æã®å(ãããã¡ããã¼ã«ãetc.) å®è·µ ã«ã¼ã使ã£ããè² ã? å¤æ°ã«ä»£å ¥ãããè² ã? Emacs Lispã¨ã¯ ãã¼ã±ãã£ã³ã°è¦ç´ ç¡ãã®ããwrite once, run anywhereããªè¨èªã§ãã Javaã®å ´åã次ã®æ¬ ç¹ãããã¾ãã ãã·ã³ã«ã¤ã³ã¹ãã¼ã«ããã¦ããä¿è¨¼ãç¡ã ä»äººã®ãã·ã³ã«åæã«ã¤ã³ã¹ãã¼ã«ããã®ã¯è¿·æ Emacs Lispã®å ´åãä¸ã®åé¡ãããã¾ããã
Paul Grahamèï¼éç° é 訳 åæ¸ã æ¡å¼µå¯è½ãªããã°ã©ãã³ã°è¨èª é¢æ° é¢æ°çããã°ã©ãã³ã° ã¦ã¼ãã£ãªãã£é¢æ° è¿ãå¤ã¨ãã¦ã®é¢æ° 表ç¾ã¨ãã¦ã®é¢æ° ãã¯ã ãã¤ãã¯ãã使ãã¹ãã å¤æ°ææ ãã¯ãã®ãã®ä»ã®è½ãç©´ å¤å ¸çãªãã¯ã æ±å¤æ° ã³ã³ãã¤ã«æã®è¨ç®å¦ç ã¢ããã©ãªãã¯ãã¯ã é¢æ°ãè¿ããã¯ã ãã¯ããå®ç¾©ãããã¯ã ãªã¼ããã¯ã æ§é åä»£å ¥ ã¯ã¨ãªã»ã³ã³ãã¤ã© ç¶ç¶ è¤æ°ããã»ã¹ é決å®æ§ ATNã使ã£ããã¼ã¸ã³ã° Prolog ãªãã¸ã§ã¯ãæåLisp ããã±ã¼ã¸ 翻訳è éç° éã®ãµã¤ã åèè Paul Grahamæ°ã®ãµã¤ã Copyright (c) 2003-2005 éç° é   NODA Kai <t50473@mail.ecc.u-tokyo.ac.jp>
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}