Commit beaa65ce authored by Alastair Bridgewater's avatar Alastair Bridgewater
Browse files

geometry/coordinate: The coordinate type.

  * For the time being, we're declaring coordinates to be integers.
parent 95a8dc37
;;;
;;; nq-clim/geometry/coordinate
;;;
;;; The COORDINATE type and coercion function (CLIM II 3.1)
;;;
(cl:defpackage :nq-clim/geometry/coordinate
(:use :cl)
(:export
"COORDINATE"))
(cl:in-package :nq-clim/geometry/coordinate)
(deftype coordinate ()
'integer)
(defun coordinate (n)
(coerce n 'integer))
;;; EOF
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment