生成一个计算所有正整数的惰性序列 user=> (def z (iterate inc 1)) #'user/z ; 取出第一个和第二个正整数 user=> (nth z 0) 1 user=> (nth z 1) 2 ; 取出前十个正整数 ...
確定! 回上一頁