My Previous Blog

May 31, 2014
Article

My Previous Blog is Desert Guard.

This is whay I migrate my blog here.

Now start my new journey happily. :)


##Some common lisp simple syntax Here is some common lisp syntaxes.

define local variables:

(let ((a 5) (b 6))
	(+ a b))

define local functions:

(flet ((f (n) (+ n 1))
	   (g (n) (+ n 2)))
	  (g (f 3)))

To make function names available in defined functions, we can use the labels command.

(labels ((a (n) (+ n 5))
		 (b (n) (+ (a n) 6)))
	(b 10))

###About emacs input mode It is amazing to find that the Mou editor provides emacs mode by default. But why not vim? I just want to know why some shell and most editor provides emacs input mode instead of VIM by default! It is not in fair! However, it is cool to use the emacs input mode instead of those common editor……

comments powered by Disqus