Skip to content
View leandrowilliam's full-sized avatar
๐Ÿงฉ
Focusing
๐Ÿงฉ
Focusing
  • Boca Raton, FL
  • 01:02 (UTC -05:00)

Block or report leandrowilliam

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
leandrowilliam/README.md

Hi there ๐Ÿ‘‹

Not the most efficient ๐Ÿ‘‡ but is elegant ๐Ÿ˜Ž

(defn sieve [n]
  (loop [s (range 2 n)
         primes []]
    (if-let [c (first s)]
      (recur (remove #(zero? (mod % c)) s) (conj primes c))
      primes)))

Pinned Loading

  1. microsoft/vscode microsoft/vscode Public

    Visual Studio Code

    TypeScript 167k 30.2k