Created
August 30, 2018 16:05
-
-
Save jrsa/585696dd4012818f5b328d33bd85e5f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user=> (->> [1 3 5] cycle (take 1) (reduce +)) | |
1 | |
user=> (->> [1 3 5] cycle (take 10) (reduce +)) | |
28 | |
user=> (->> [1 3 5] cycle (take 100) (reduce +)) | |
298 | |
user=> (->> [1 3 5] cycle (take 1000) (reduce +)) | |
2998 | |
user=> (->> [1 3 5] cycle (take 10000) (reduce +)) | |
29998 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment