From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.devel Subject: Re: The new class fraction Date: Tue, 25 Nov 2003 16:46:18 -0500 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069797990 16434 80.91.224.253 (25 Nov 2003 22:06:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2003 22:06:30 +0000 (UTC) Cc: djurfeldt@nada.kth.se Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Nov 25 23:06:26 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 1AOlKD-0002b3-00 for ; Tue, 25 Nov 2003 23:06:25 +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 1AOmFn-0006eZ-JK for guile-devel@m.gmane.org; Tue, 25 Nov 2003 18:05:55 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AOmAV-0005Wy-DH for guile-devel@gnu.org; Tue, 25 Nov 2003 18:00:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AOm8t-00055t-L5 for guile-devel@gnu.org; Tue, 25 Nov 2003 17:59:18 -0500 Original-Received: from [213.212.20.77] (helo=kvast.blakulla.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AOlyD-0002p4-3Q for guile-devel@gnu.org; Tue, 25 Nov 2003 17:47:45 -0500 Original-Received: from chunk.mit.edu ([18.42.2.92] helo=chunk ident=mail) by kvast.blakulla.net with esmtp (Exim 3.36 #1 (Debian)) id 1AOl0k-0005Q3-00; Tue, 25 Nov 2003 22:46:19 +0100 Original-Received: from mdj by chunk with local (Exim 4.24) id 1AOl0k-0001re-8y; Tue, 25 Nov 2003 16:46:18 -0500 Original-To: marius.vollmer@uni-dortmund.de, guile-devel@gnu.org In-Reply-To: (Mikael Djurfeldt's message of "Tue, 25 Nov 2003 16:23:53 -0500") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) 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:3090 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3090 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?. M _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel