Here it is:
| format | most flexible way of output |
| t | a shorthand for the stream *standard-output* |
| defun | functions define |
| load | load a file of expression |
| compile-file | compile a lisp file |
| list | make a list |
| (list :a 1 :b 2 :c 3) | property list |
| getf | choose element by property |
| defvar | define a variable |
| push | add items 1st to 2nd |
| dolist | looping from 2nd param |
| ~a | output format consume one argument |
| ~10t | emit spaces |
| ~% | emit one more newline to put blank line |
| ~{ and ~} | loops over that list |
| force-output | =flush in c |
| read-line | read a single line of text |
| *query-io* | global variable contain input stream |
| or | logical operation |
| y-or-n-p | ask for y/n |
| loop | repeat until return called |
| return | end loop |
| if | just "if" |
| not | logical operation |
| with-open-file | opens a file |
| with-standard-io-syntax | ensures certain variables that affect |
| output as a lisp readable format | |
| setf | assignment operator |
| read | read from the stream in |
| evenp | return T if argument is an even number |
| remove-if-not | takes a predicate and a list return list match predicate |
| lambda | anonymous function |
| equal | compare strings |
| mapcar | map over a list |
| defmarco | define a macro |
| reverse | reverse a list |
| pop | inverse operation of push |
| -p | check if the param is be passed |
| ' or ` | stop evaluation expression |
| , | start evaluated |
| # | shorthand for get function by name |
| function | syntactic sugar for #' |
| @ | splices the value |
| &key / &rest / &optional | vary params |
| funcall | (funcall #'foo para1 para2)call functions |
| apply | ==funcall paras be a list |

没有评论:
发表评论