unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: "Dale P. Smith" <dsmith@altustech.com>
Subject: Re: scm_make_gsubr question
Date: Sun, 2 Feb 2003 17:55:30 -0500	[thread overview]
Message-ID: <20030202175530.03774d02.dsmith@altustech.com> (raw)
In-Reply-To: <xy7lm1gi4an.fsf@nada.kth.se>

On Mon, 20 Jan 2003 10:00:48 +0100
Mikael Djurfeldt <djurfeldt@nada.kth.se> wrote:

> Neil Jerram <neil@ossau.uklinux.net> writes:
> 
> >>>>>> "William" == William Morgan <wmorgan@masanjin.net> writes:
> >
> >     William> Is there a way to specify, at the time you call
> >     William> scm_make_gsubr, a user data parameter which is passed to
> >     William> the corresponding C function? [...]

 
> I don't think it's a good idea to add this to gsubrs.
> 
> We already have three different ways to do it:
> 
> 1. applicable smobs
> 
> 2. compiled closures (cclo)
> 
> 3. entities and operators (applicable structs)
> 
> Of these, 1 and 2 are easy to do from C.

I've always wondered about cclo's.  Are there any examples of use?  I
didn't find much in the Guile Reference Manual.

-Dale

-- 
Dale P. Smith
Senior Systems Consultant,      | Treasurer,
Altus Technologies Corporation  | Cleveland Linux Users Group
dsmith@altustech.com            | http://cleveland.lug.net
440-746-9000 x339               |


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  parent reply	other threads:[~2003-02-02 22:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-19 20:40 scm_make_gsubr question William Morgan
2003-01-19 23:55 ` Neil Jerram
2003-01-20  8:24   ` Rob Browning
2003-01-20  8:58     ` Marius Vollmer
2003-01-20  9:00   ` Mikael Djurfeldt
2003-01-20 19:07     ` William Morgan
2003-01-20 20:03       ` Mikael Djurfeldt
2003-02-02 22:55     ` Dale P. Smith [this message]
2003-01-21 15:04 ` Marius Vollmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030202175530.03774d02.dsmith@altustech.com \
    --to=dsmith@altustech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).