小编Ada*_*dam的帖子

处理在Clojure的地图传染媒介

我没有找到很多关于对地图矢量进行操作的文档或编码示例.例如,如果我有

(def student-grades 
 [{:name "Billy" :test1 74 :test2 93 :test3 89} 
  {:name "Miguel" :test1 57 :test2 79 :test3 85}
  {:name "Sandy" :test1 86 :test2 97 :test3 99}
  {:name "Dhruv" :test1 84 :test2 89 :test3 94}])
Run Code Online (Sandbox Code Playgroud)

我想为测试平均值添加或关联一个新的键值对,我应该阅读哪些函数?如果有人知道Clojure中地图矢量的任何参考/资源,请分享!非常感谢!

clojure

17
推荐指数
2
解决办法
5711
查看次数

标签 统计

clojure ×1