From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Todd Newsgroups: gmane.lisp.guile.user Subject: Re: First look at Guile Std Library available Date: Sat, 3 Jan 2004 16:42:28 -0600 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <20040103224228.GB518@Richard-Todds-Computer.local> References: <20040102052128.GA16849@Richard-Todds-Computer.local> <16373.14841.524453.369087@l.a> <20040103010339.GA2501@pazuzu> <16374.54104.736663.130429@l.a> Reply-To: Richard Todd NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0120519504==" X-Trace: sea.gmane.org 1073170238 27504 80.91.224.253 (3 Jan 2004 22:50:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Jan 2004 22:50:38 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Jan 03 23:50:34 2004 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 1AcubK-0007Ue-00 for ; Sat, 03 Jan 2004 23:50:34 +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 1AcvXK-0001Dq-CZ for guile-user@m.gmane.org; Sat, 03 Jan 2004 18:50:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AcvWE-0001C8-7T for guile-user@gnu.org; Sat, 03 Jan 2004 18:49:22 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AcvVa-0000xD-6W for guile-user@gnu.org; Sat, 03 Jan 2004 18:49:13 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AcvVZ-0000f1-Mp for guile-user@gnu.org; Sat, 03 Jan 2004 18:48:41 -0500 Original-Received: from [66.171.157.251] (helo=Richard-Todds-Computer.local) by mx20.gnu.org with esmtp (Exim 4.24) id 1AcuTW-0003xj-Ds for guile-user@gnu.org; Sat, 03 Jan 2004 17:42:30 -0500 Original-Received: by Richard-Todds-Computer.local (Postfix, from userid 501) id 35C1A719F4; Sat, 3 Jan 2004 16:42:28 -0600 (CST) Original-To: Dale Mellor In-Reply-To: <16374.54104.736663.130429@l.a> User-Agent: Mutt/1.4i X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2508 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2508 --===============0120519504== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rS8CxjVDS/+yyDmU" Content-Disposition: inline --rS8CxjVDS/+yyDmU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 03, 2004 at 03:36:08PM +0100, Dale Mellor wrote: > RT> Do you have any further ideas on what this would look like? Does= it > RT> already exist somewhere? >=20 > Some examples off the top of my head (I'm in knee-jerk mode again ;-)= ): <> With Gary Houston's blessing, I've incorporated the Goosh module as (os process). that allows for syntax like (tail-call-pipeline ("ls" "/etc") ("grep" "passwd")) ond other higher-level fork-type constructs. Its quite possible that more of your ideas like this can be incorporated between now and the first release in June. Unifying this with threads (at least to the point where similar operations have similar interfaces) sounds like a very good idea indeed. > Another example is logging. The low-level library should contain > (openlog ..) (syslog ..) and (closelog ..), but a higher-level > library should provide in addition something like > (with-output-to-syslog facility priority proc). In my development branch I'm already working on nearly exactly that! Something like (with-output-to-log "main" 'CRITICAL (lambda () ...)). So we are definitely on the same wavelength here. I had not previously given much thought to separating out the low level and high level interfaces. They might have both ended up in (logging logger). I'll give some more thought to how I can do this. > Reading the above passage gave me another knee-jerk reaction, > though. Rather than calling your modules (container xxxx) and=20 > (math xxxx), I think I would prefer (std container xxxx) and=20 > (std math xxxx). Whenever I finally get a listing on savannah, this was going to be the first question I posed to the guile-library mailing list. I keep changing my mind about what would be best. I could forsee in a few years needing to reorganize the modules once we get to a certain size, and jumping to (std2 xxx) would be a nice way to split with the past. Of course doing this mare than once or twice a decade would make things quite messy... Richard Todd richardt at vzavenue dot net --rS8CxjVDS/+yyDmU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (Darwin) iD8DBQE/90VUa9lhNGIqsRIRAp9mAJ9jaadJgTTi9OcIcYRSO1TNkdbvfQCgiSTO mcu04KXiKam0meQGLGzOK9k= =dAeN -----END PGP SIGNATURE----- --rS8CxjVDS/+yyDmU-- --===============0120519504== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user --===============0120519504==--