标签:newlisp
> (set ‘l ‘(("a" "b") ("c" "d"))) (("a" "b") ("c" "d")) > (lookup "a" l) "b"
lookup只返回value
> (assoc "a" l) ("a" "b")
返回key/value的
用pop-assoc
> (pop-assoc "a" l) ("a" "b") > l (("c" "d"))
标签:newlisp
原文地址:http://blog.csdn.net/csfreebird/article/details/43736631