From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Marius Vollmer Newsgroups: gmane.lisp.guile.devel Subject: Re: mpz_import Date: Mon, 23 Aug 2004 15:19:03 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <877jrqr7ni.fsf@zip.com.au> <77888DE4-F4FF-11D8-9F1C-000D93673682@gmx.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1093267185 23065 80.91.224.253 (23 Aug 2004 13:19:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Aug 2004 13:19:45 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Aug 23 15:19:23 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BzEjK-0008U0-00 for ; Mon, 23 Aug 2004 15:19:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzEnm-0006mX-Oi for guile-devel@m.gmane.org; Mon, 23 Aug 2004 09:23:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BzEnf-0006ls-TK for guile-devel@gnu.org; Mon, 23 Aug 2004 09:23:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BzEne-0006kI-3k for guile-devel@gnu.org; Mon, 23 Aug 2004 09:23:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BzEne-0006kB-1c for guile-devel@gnu.org; Mon, 23 Aug 2004 09:23:50 -0400 Original-Received: from [129.217.163.1] (helo=mail.dt.e-technik.uni-dortmund.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BzEj3-00066O-35 for guile-devel@gnu.org; Mon, 23 Aug 2004 09:19:05 -0400 Original-Received: from troy.dt.e-technik.uni-dortmund.de (troy.dt.e-technik.uni-dortmund.de [129.217.163.17]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 5989A3964A; Mon, 23 Aug 2004 15:19:04 +0200 (CEST) Original-Received: by troy.dt.e-technik.uni-dortmund.de (Postfix, from userid 520) id D1261B962; Mon, 23 Aug 2004 15:19:03 +0200 (CEST) Original-To: =?iso-8859-1?q?Andreas_V=F6gele?= In-Reply-To: <77888DE4-F4FF-11D8-9F1C-000D93673682@gmx.net> (Andreas =?iso-8859-1?q?V=F6gele's?= message of "Mon, 23 Aug 2004 14:25:06 +0200") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 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:4016 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4016 Andreas V=F6gele writes: > Marius Vollmer writes: > >> [...] I was thinking whether we should export something like >> mpz_import and mpz_export for our integers in general. Such an >> operation is obviously needed sometimes. > > I think that's a good idea. I could, for example, use such wrappers > to convert message digests into bigints. Currently, I use scm_ash and > scm_sum in a loop to convert MD5 hashes into numbers. Yes, that sounds the prototypical application. Maybe you have a concrete suggestion of how Guile should offer these functions (i.e., documented function prototypes)? That would be great. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel