diff options
author | Konrad Hinsen <konrad.hinsen@laposte.net> | 2009-05-03 15:45:02 +0000 |
---|---|---|
committer | Konrad Hinsen <konrad.hinsen@laposte.net> | 2009-05-03 15:45:02 +0000 |
commit | bdc813a0d39cb3c6184c4e123d847458e9c77711 (patch) | |
tree | bfd2af2560617b72f4b8f827b5e7467770637230 /src/clojure/contrib/generic/arithmetic.clj | |
parent | 47a2f69414f0c3ff90fb2fad4930d9af3d491d23 (diff) |
Namespace documentation for autodoc
Diffstat (limited to 'src/clojure/contrib/generic/arithmetic.clj')
-rw-r--r-- | src/clojure/contrib/generic/arithmetic.clj | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/clojure/contrib/generic/arithmetic.clj b/src/clojure/contrib/generic/arithmetic.clj index e7e01b42..b6f0a6ff 100644 --- a/src/clojure/contrib/generic/arithmetic.clj +++ b/src/clojure/contrib/generic/arithmetic.clj @@ -1,7 +1,7 @@ ;; Generic interfaces for arithmetic operations ;; by Konrad Hinsen -;; last updated March 19, 2009 +;; last updated May 3, 2009 ;; Copyright (c) Konrad Hinsen, 2009. All rights reserved. The use ;; and distribution terms for this software are covered by the Eclipse @@ -11,17 +11,16 @@ ;; agreeing to be bound by the terms of this license. You must not ;; remove this notice, or any other, from this software. -(ns clojure.contrib.generic.arithmetic - "Generic arithmetic interface - - NOTE: This library is VERY experimental. It WILL change significantly - with future release. - - This library defines generic versions of + - * / as multimethods - that can be defined for any type. The minimal required implementations - for a type are binary + and * plus unary - and /. Everything else - is derived from these automatically. Explicit binary definitions - for - and / can be provided for efficiency reasons." +(ns + #^{:author "Konrad Hinsen" + :doc "Generic arithmetic interface + This library defines generic versions of + - * / as multimethods + that can be defined for any type. The minimal required + implementations for a type are binary + and * plus unary - and /. + Everything else is derived from these automatically. Explicit + binary definitions for - and / can be provided for + efficiency reasons."} + clojure.contrib.generic.arithmetic (:use [clojure.contrib.generic :only (root-type nulary-type nary-type nary-dispatch)] [clojure.contrib.types :only (defadt)]) |