Skip to content

散列码

类型 ​

meta-lisp
(泛型 (甲) (-> 甲 整数型))

描述 ​

计算任意值的散列码。

例子 ​

meta-lisp
(散列码 42)       ;; => 42
(散列码 "hello")  ;; => 某个整数