comparison base/generics.lisp @ 89:0b4c624910f1

base/: basic protocol for accessing monodies darcs-hash:20070723140651-c0ce4-2c828ea984eb92f0ccb73866a6a496131c8fa736.gz
author Marcus Pearce <m.pearce@gold.ac.uk>
date Mon, 23 Jul 2007 15:06:51 +0100
parents 7a0ee88f1edb
children e99e51c2a8af
comparison
equal deleted inserted replaced
88:8ea75cc8bc2c 89:0b4c624910f1
1 (cl:in-package #:amuse) 1 (cl:in-package #:amuse)
2 2
3 ;;; Pulling compositions from the database 3 ;;; Pulling compositions from the database
4 4
5 (defgeneric get-composition (identifier)) 5 (defgeneric get-composition (identifier))
6
7 (defgeneric monody (object)
8 (:documentation "Returns a monody."))
9 (defgeneric ensure-monody (object)
10 (:documentation "Returns a generalised boolean."))
6 11
7 ;;; Getting constituents from compositions 12 ;;; Getting constituents from compositions
8 ;; IS this the mechanism we want to use 13 ;; IS this the mechanism we want to use
9 (defgeneric time-signatures (composition) 14 (defgeneric time-signatures (composition)
10 (:documentation "Returns all time-signatures in a composition 15 (:documentation "Returns all time-signatures in a composition