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: scm_make_gsubr question Date: Mon, 20 Jan 2003 21:03:48 +0100 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <20030119204023.GA22802@masanjin.net> <20030120190707.GA29475@masanjin.net> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1043093531 23564 80.91.224.249 (20 Jan 2003 20:12:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 20 Jan 2003 20:12:11 +0000 (UTC) Cc: djurfeldt@nada.kth.se Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18aiFV-0005xl-00 for ; Mon, 20 Jan 2003 21:10:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18aiFI-0003Uh-01 for guile-devel@m.gmane.org; Mon, 20 Jan 2003 15:10:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18aiC5-0001Co-00 for guile-devel@gnu.org; Mon, 20 Jan 2003 15:06:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ai9W-0008LC-00 for guile-devel@gnu.org; Mon, 20 Jan 2003 15:04:15 -0500 Original-Received: from kvast.blakulla.net ([213.212.20.77]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ai99-00086U-00 for guile-devel@gnu.org; Mon, 20 Jan 2003 15:03:51 -0500 Original-Received: from barbara.blakulla.net ([213.212.21.238] helo=linnaeus) by kvast.blakulla.net with esmtp (Exim 3.36 #1 (Debian)) id 18ai98-0005Xe-00; Mon, 20 Jan 2003 21:03:50 +0100 Original-Received: from mdj by linnaeus with local (Exim 3.36 #1 (Debian)) id 18ai97-0000RG-00; Mon, 20 Jan 2003 21:03:49 +0100 Original-To: guile-devel@gnu.org In-Reply-To: <20030120190707.GA29475@masanjin.net> (William Morgan's message of "Mon, 20 Jan 2003 14:07:08 -0500") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1881 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1881 William Morgan writes: > Excerpts (reformatted) from Mikael Djurfeldt's mail of 20 Jan 2003 (EST): >> I don't think it's a good idea to add this to gsubrs. > > My question is partially mitigated by your reply below, but I think it's > worth considering who your target audience is: > > If it includes C programmers who want to link Guile in as a scripting > language, possibly who are not very fluent in Scheme, and possibly (as > was the case on guile-user recently) in addition to other scripting > languages, then this should be as easy as possible for them to do. > > But if doing fairly reasonable (IMO) things like this requires > understanding tricky concepts and significant Guile-specific changes to > one's application, I think you risk alienating that class of users. > > At any rate, I will defer to your (collective) judgement. I apologize for my short answers. I'm not intending to be rude. My previous post was targetted at Neil, another Guile developer. I think in this case what is needed is not new Guile features but new documentation. Unfortunately, I don't have time to write that documentation. Applicable smobs are easy to use. Until documentation is available you might want to look for the function scm_set_smob_apply in the Guile sources. Good luck! Mikael D. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel