Shammer's Philosophy

My private adversaria

2015-12-18から1日間の記事一覧

Using typecase in Common Lisp

I wrote some functions that need to check the type of valuable with using cond with numberp, stringp, characterp etc, here is a sample. (cond ((numberp x) ; do something here ...) ((stringp x) ; do something here ...) (t ...)) But, there i…