Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Last active January 1, 2017 14:28
Show Gist options
  • Save zhouqiang-cl/92782fe0f26b10f2438e2a5afd3e1d31 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/92782fe0f26b10f2438e2a5afd3e1d31 to your computer and use it in GitHub Desktop.
common lisp 的访问器 GETHASH
语法
gethash key hash-table &optional default => value, present-p
(setf (gethash key hash-table &optional default) new-value)
参数和值
key --- 一个对象
hash-table --- 一个 hash table
描述
 获取 key 的值和设置key的值
代码
 忽略
说明
 key 不要为字符串.数字或者符号都可以
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment