评论:4clojure 题解 Interleave Two Seqs

交织两个序列,不得使用interleave操作Write a function which takes two sequences and returns the first item from each, then the second item from each, then the third, etc.(= (__ [1 2 3] [:a :b :c]) '(1 :a 2 :b 3 :c))(= (__ [1 2] [3 4 5 6]) '(1 3 2 4 [更多>>]

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

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

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

闽ICP备15009223号-1