src/utils.lisp @ 5c1a3615e9fc

Mini 3: Map(-range)
author Steve Losh <steve@stevelosh.com>
date Tue, 12 Apr 2016 22:05:57 +0000
parents 21b9503510dc
children dcf7b53a54df
(in-package #:coding-math.utils)

(defun dividesp (n divisor)
  "Return whether `n` is evenly divisible by `divisor`."
  (zerop (mod n divisor)))