评论:4clojure 题解 Map Construction

把两个序列合并成一个map,不允许使用zipmapWrite a function which takes a vector of keys and a vector of values and constructs a map from them.(= (__ [:a :b :c] [1 2 3]) {:a 1, :b 2, :c 3})(= (__ [1 2 3 4] ["one" "two" "three"] [更多>>]

网友评论0 条评论)
发表评论

Copyright © 2012-2014 我的代码板 Inc. 保留所有权利。

页面耗时0.0209秒, 内存占用1.81 MB, 访问数据库8次

闽ICP备15009223号-1