annotate implementations/mtp/constructors.lisp @ 171:98443d36ac6a

Fixed sequence:make-sequence-like :around method The :around method clobbered the %data slot, as Christophe put it. darcs-hash:20080123180914-990ec-629ecf5d60363512e6831800bb1e61dbcb8f94f5.gz
author Jamie Forth <j.forth@gold.ac.uk>
date Wed, 23 Jan 2008 18:09:14 +0000
parents ce4a90427366
children
rev   line source
m@46 1 (cl:in-package #:amuse-mtp)
m@46 2
m@53 3 (defun make-mtp-dataset-identifier (dataset-id)
m@53 4 (make-instance 'mtp-dataset-identifier :dataset-id dataset-id))
m@53 5
m@46 6 (defun make-mtp-composition-identifier (dataset-id composition-id)
m@46 7 (make-instance 'mtp-composition-identifier
m@46 8 :dataset-id dataset-id :composition-id composition-id))
m@46 9
m@53 10 (defun make-mtp-dataset (&rest args)
m@53 11 (apply #'make-instance 'mtp-dataset args))
m@53 12
m@46 13 (defun make-mtp-composition (&rest args)
m@46 14 (apply #'make-instance 'mtp-composition args))
m@46 15
m@46 16 (defun make-mtp-event (&rest args)
m@46 17 (apply #'make-instance 'mtp-event args))
m@46 18