comparison base/generics.lisp @ 121:4198b52e612b

More docstrings darcs-hash:20070727142154-f76cc-f59d4ad1216346f392d5b9f9e5b153a6f07a9bd9.gz
author David Lewis <d.lewis@gold.ac.uk>
date Fri, 27 Jul 2007 15:21:54 +0100
parents d574d015f5af
children f57ab0e109fb
comparison
equal deleted inserted replaced
120:d2f68cedf573 121:4198b52e612b
100 (defgeneric (setf duration) (value period-designator)) 100 (defgeneric (setf duration) (value period-designator))
101 (defgeneric timepoint (moment-designator)) 101 (defgeneric timepoint (moment-designator))
102 (defgeneric (setf timepoint) (value moment-designator)) 102 (defgeneric (setf timepoint) (value moment-designator))
103 (defgeneric cut-off (anchored-period-designator) ; name? 103 (defgeneric cut-off (anchored-period-designator) ; name?
104 (:documentation "Returns a <moment> representing the point at 104 (:documentation "Returns a <moment> representing the point at
105 which the anchored period has ended.") 105 which the anchored period has ended. By default, is calculated
106 as the result of running time+ on the onset and period of the
107 object.")
106 (:method (apd) (time+ (moment apd) (floating-period apd)))) 108 (:method (apd) (time+ (moment apd) (floating-period apd))))
107 (defgeneric crotchet (object) 109 (defgeneric crotchet (object)
108 (:documentation "Returns a period, the duration of which represents 110 (:documentation "Returns a period, the duration of which represents
109 a crotchet in the time representation used by object.")) 111 a crotchet in the time representation used by object."))
110 112