|
发表于 2008-9-22 13:56:52
|
显示全部楼层
来自: 马来西亚
回复 18# alexsum 的帖子
也是一个办法.不过,sd-read-from-string应该是read-from-string的改良版.
, C5 E3 l1 p8 U5 b! g2 |
0 H) B7 \) E( R0 T, W. a(sd-read-from-string string)/ ~5 }( y6 C2 ~
Description: Same as the standard Lisp function read-from-string except that this function can handle empty strings or strings with just space characters. F' y# t, V& d+ C- a
0 J' k- s3 G1 j3 d. h* c( m( g遇到空键时,是有分别的.
9 v+ \ V" E) C; W& ?: L. u, ?(display (read-from-string " "))
( R8 w4 W2 ^- W+ P' }0 w; h: `(display (oli::sd-read-from-string " "))
F) z! S, }) L& Y' [8 O
" @- V' S" ?- k" S5 h1 D S# J[ 本帖最后由 3dmad 于 2008-9-22 13:58 编辑 ] |
|