From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Matthias Koeppe Newsgroups: gmane.lisp.guile.devel Subject: Re: The new class fraction Date: Wed, 26 Nov 2003 11:38:48 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069844652 15475 80.91.224.253 (26 Nov 2003 11:04:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2003 11:04:12 +0000 (UTC) Cc: guile-devel@gnu.org, marius.vollmer@uni-dortmund.de Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Nov 26 12:04:09 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOxSr-00021O-00 for ; Wed, 26 Nov 2003 12:04:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOyOD-0003lm-GM for guile-devel@m.gmane.org; Wed, 26 Nov 2003 07:03:25 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AOy2U-0005x2-Ux for guile-devel@gnu.org; Wed, 26 Nov 2003 06:40:58 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AOy1x-0005q1-0e for guile-devel@gnu.org; Wed, 26 Nov 2003 06:40:56 -0500 Original-Received: from [141.44.75.40] (helo=merkur.math.uni-magdeburg.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOy1v-0005p3-Ao for guile-devel@gnu.org; Wed, 26 Nov 2003 06:40:23 -0500 Original-Received: from gamma ([141.44.75.90] helo=gamma.math.uni-magdeburg.de) by merkur.math.uni-magdeburg.de with esmtp (Exim 4.10) id 1AOx4L-0000Om-00; Wed, 26 Nov 2003 11:38:49 +0100 Original-Received: (from mkoeppe@localhost) by gamma.math.uni-magdeburg.de (8.12.9+Sun/8.12.9/Submit) id hAQAcm3a027791; Wed, 26 Nov 2003 11:38:48 +0100 (MET) X-Authentication-Warning: gamma.math.uni-magdeburg.de: mkoeppe set sender to mkoeppe@mail.math.uni-magdeburg.de using -f Original-To: djurfeldt@nada.kth.se In-Reply-To: (Mikael Djurfeldt's message of "Tue, 25 Nov 2003 16:46:18 -0500") User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3.50 (usg-unix-v) X-Warning: no 'abuse'-account in domain mail.math.uni-magdeburg.de (cf. RFC2142/4.) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3092 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3092 Mikael Djurfeldt writes: > Mikael Djurfeldt writes: > >> 2003-11-18 Marius Vollmer >> >> * objects.c (scm_class_fraction): New. >> >> It is great to have rational numbers in Guile's number tower. >> >> However, why have you chosen the type name "fraction" rather than >> "rational" as is the name used in for example Common Lisp? >> >> I suggest quickly changing the name to before >> sticks. > > Hmm... on second consideration. Probably we should keep as > the concrete class representing fractions and introduce the abstract > class , with subclasses and so that > membership of class is equivalent to the result of a call > to the predicate rational?. Actually, the name of the concrete class representing fractions is called RATIO in Common Lisp. It is a subclass of RATIONAL. -- Matthias Koeppe -- http://www.math.uni-magdeburg.de/~mkoeppe _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel