Skip to content

Instantly share code, notes, and snippets.

@si14
Created May 31, 2013 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save si14/f09a6caeb2355cd2e727 to your computer and use it in GitHub Desktop.
Save si14/f09a6caeb2355cd2e727 to your computer and use it in GitHub Desktop.
lightning.core> (time (let [vs (into [] (take 11 (repeatedly lvar)))]
(nth
(run 42 [q]
(== q vs)
(everyg #(fd/in % (fd/interval 60 69)) vs))
41)))
"Elapsed time: 148.774638 msecs"
[61 60 60 60 60 60 60 61 60 60 60]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment