Skip to content
View leandrowilliam's full-sized avatar
  • Boca Raton, FL
  • 06:37 (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.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. 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 180k 37.3k