Mercurial > hg > amuse
comparison base/generics.lisp @ 139:ebfe054eea1c
Bug fixes from name changes
darcs-hash:20070918114952-f76cc-feb59725a2f67edd6242947a5c2311d0a724cc43.gz
author | David Lewis <d.lewis@gold.ac.uk> |
---|---|
date | Tue, 18 Sep 2007 12:49:52 +0100 |
parents | fd85f52d9f9d |
children | cc7724248043 |
comparison
equal
deleted
inserted
replaced
138:b3537f75c1c6 | 139:ebfe054eea1c |
---|---|
194 (:method (md) (make-moment (timepoint md))) | 194 (:method (md) (make-moment (timepoint md))) |
195 (:documentation "Coerce any moment, including an | 195 (:documentation "Coerce any moment, including an |
196 anchored-period to a moment")) | 196 anchored-period to a moment")) |
197 | 197 |
198 (defgeneric onset (anchored-period) | 198 (defgeneric onset (anchored-period) |
199 (:method (apd) (moment apd)) | 199 (:method (ap) (moment ap)) |
200 (:documentation "Return a moment for the start of an anchored period")) | 200 (:documentation "Return a moment for the start of an anchored period")) |
201 (defgeneric (setf onset) (value anchored-period)) | 201 (defgeneric (setf onset) (value anchored-period)) |
202 | 202 |
203 ;;; Time Protocol (or moments?) | 203 ;;; Time Protocol (or moments?) |
204 | 204 |