(ns com.hypirion.primes
  (:import [com.hypirion.primes Primes])
  (:refer-clojure :exclude [take get]))

(defn prime? [n]
  (Primes/isPrime n))

(defn take [n]
  (Primes/take n))

(defn get [n]
  (Primes/get n))

(defn take-below [n]
  (Primes/takeUnder n))

(ns com.hypirion.primes
  (:import [com.hypirion.primes Primes])
  (:refer-clojure :exclude [take get]))

(defn prime? [^long n]
  (Primes/isPrime n))

(defn take [n]
  (Primes/take n))

(defn get [n]
  (Primes/get n))

(defn take-below [n]
  (Primes/takeUnder n))

Add type hint on prime?
Add type hint on prime?

hyPiRion/primes