CLOSã¨ã¯Common Lisp Object Systemã®ç¥ããã.OOã¨ããã®ã¯ã¡ã½ããã¨ãããã°ãã°ç ´å£çãªé¢æ°ããã³ãã³ã§ã¦ãã¦,Lispã¨ã¯ç¸å®¹ããªãä¸çãã¨æã£ã¦ããã®ã ã,ããã§ã¯ãªãããã . ã¯ã©ã¹å®ç¾©ã¨ã¤ã³ã¹ã¿ã³ã³ã¹åã¨ã¹ãããã®åç
§ ã¡ã½ãã ã¹ããã åªå
度 ç·ç§°é¢æ° ã¹ãããã®ç¶æ¿ è£å©ã¡ã½ãã ãªãã¬ã¼ã¿ã¡ã½ããã³ã³ããã¼ã·ã§ã³ ç·ç§°é¢æ°ã®åé¤ ã¯ã©ã¹å®ç¾©ã¨ã¤ã³ã¹ã¿ã³ã³ã¹åã¨ã¹ãããã®åç
§ã¯ã©ã¹ã¯defclassã§å®ç¾©ãã. (defclass ã¯ã©ã¹å ã¹ã¼ãã¼ã¯ã©ã¹ã®ãªã¹ã ã¹ãããã®ãªã¹ã) ã¹ãããã¨ã¯,å¤ãã®OOããã°ã©ãã³ã°è¨èªã§ã¹ãããã¨å¼ã°ãã¦ãããã®ã«è©²å½ãã.以ä¸ã¯äºã¤ã®ã¹ãããfoo,barããã¤hogeã¨ããã¯ã©ã¹ãå®ç¾©ãã¦ãã. > (defclass hoge () (foo bar)) #<STANDARD-CLASS HOGE>
{{#tags}}- {{label}}
{{/tags}}