;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: class-support.lisp,v 1.9 2003/05/26 14:53:33 kevin Exp $
+;;;; $Id: class-support.lisp,v 1.11 2003/06/10 22:30:16 kevin Exp $
;;;;
;;;; This file, part of UMLisp, is
-;;;; Copyright (c) 2000-2002 by Kevin M. Rosenberg, M.D.
+;;;; Copyright (c) 2000-2003 by Kevin M. Rosenberg, M.D.
;;;;
;;;; UMLisp users are granted the rights to distribute and use this software
;;;; as governed by the terms of the GNU General Public License.
;;; Formatting routines
-
-
(defgeneric fmt-cui (c))
(defmethod fmt-cui ((c ucon))
(fmt-cui (cui c)))
"Return the string for a ulo object"
(find-string-sui (sui lo)))
-(defmethod uterm-pfstr (uterm)
+(defun uterm-pfstr (uterm)
"Return the preferred string for a uterm"
(dolist (ustr (s#str uterm))
(when (string= "PF" (stt ustr))
(return-from uterm-pfstr (str ustr)))))
-(defmethod remove-non-english-terms (uterms)
+(defun remove-non-english-terms (uterms)
(remove-if-not #'english-term-p uterms))