Practical Common Lisp, Chapter 7
MACROS : STANDARD CONTROL CONSTRUCS All programmers should be used to the idea that the definition of a language can include a standard library of functionality that is...
MACROS : STANDARD CONTROL CONSTRUCS All programmers should be used to the idea that the definition of a language can include a standard library of functionality that is...
CLOS Brief Guide based on
CLOS CLOS Brief Guide based on http://www.aiai.ed.ac.uk/~jeff/clos-guide.html http://www.cs.northwestern.edu/academics/courses/325/readings/clos.php http://cl-cookbook.sourceforge.net/clos-tutorial/ http://www.gigamonkeys.com/book/object-reorientation-generic-functions.html See http://github.com/1ambda/CLOS 1. class-of Built-in Classes SYMBOL STRING INTEGER CONS VECTOR and so on 2. defstruct defstruct automatically...
What is Macro? Lisp 에서 매크로가 무엇인지 잠깐이나마 느낀 순간을 공유해 보려고 한다. 1. Macro-Expansion Time Lisp 에는 Macro 가 코드로 치환되는 macro-expansion time 과 실제 프로그램이 돌아가는...
Special Form and MACRO Special Form에 대해 관심을 가지게 된 이유는, 여기저기 등장하기 때문. 가끔 CLHS를 보면 어떤 심볼이 Function이 아니라 Special Form일때가 많더라. 여기 에 따르면, 리스트를...
#’(Sharp Single-Quote)와 ’(Quote)의 차이 CLHS 에 의하면 #' 은function 과 동일하다. 예를들어 (apply #'+ l) == (apply (function +) l) 분명히 #'car 과 'car 은 다르다. #'car 은...
Lisp Symbol 원래는 Flet과 Labels에 대한 차이점을 찾고 있었다. Labels는 재귀가 된다는데, 함수 정의에서 어느 부분이 다른건지 CLHS 을 보고 있었다. 그랬더니 이런 코드가 나오더라 (defun dummy-function ()...
1. Practical Common Lisp2. ANSI Common Lisp3. On Lisp4. How to Design ProgramLisp Resources: http://blog.johnrohde.eu/2010/12/lisp-resources.html