/is-prime

A clojure library for determining if a number is prime

Primary LanguageClojureEclipse Public License 1.0EPL-1.0

is-prime

A Clojure library that evaluates if a number is prime.

Build Status

Usage

(require '[is-prime.core :refer :all])

(is-prime 2) ; true
(is-prime 3) ; true
(is-prime 12853) ; true
(is-prime 4) ; false

Testing

$ lein test

License

Copyright © 2015 Nathan Wittstock

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.