The difference is that for builds a lazy sequence and returns it while doseq is for executing side-effects and returns nil. user=> (for [x [1 2 3]] (+ x 5)) ...
確定! 回上一頁