Re: accessing a printf-like function from scheme

2006-04-25 Thread Tomas Zerolo
On Tue, Apr 25, 2006 at 08:44:55AM -0400, Dan McMahill wrote: > > Hello, > > I'm trying to provide scheme access to a C function which has the same > interface a printf(). [...] > SCM g_funcs_log(SCM s_num_list) > { > SCM s_element; > int length; > int i; > > /* Check that the input is

Re: association list bug? -- version 1.6.4

2005-11-14 Thread Tomas Zerolo
On Mon, Nov 14, 2005 at 08:00:13PM -0600, Jon Wilson wrote: > Hi y'all, > The following doesn't seem correct. > We have an association list defined such that: > > (assoc '+ forms) > => > (+ . "+") > > But, > > (assoc-ref '+ forms) > => > #f Heh. The arguments are backwards. You want (assoc-ref

Re: Modified load-path proposal

2005-11-01 Thread Tomas Zerolo
On Sun, Oct 30, 2005 at 06:04:58PM +, Neil Jerram wrote: > Neil Jerram <[EMAIL PROTECTED]> writes: > > > So all that's left is: [...] > > Everyone happy with that? > > Well, I'm not sure I am. [...] [init.d] > Sorry to have been carrying on this discussion for so long, and for > changing d

Re: Modified load-path proposal

2005-10-31 Thread Tomas Zerolo
On Mon, Oct 31, 2005 at 10:48:43AM +1100, Kevin Ryde wrote: > Neil Jerram <[EMAIL PROTECTED]> writes: > > > > In the init.d approach [...] > What advantage is this over putting a symlink in /usr/share/guile/site > to point to this alternate location? Something similar to what the /etc/init.d thin

Re: Modified load-path proposal

2005-10-31 Thread Tomas Zerolo
On Sun, Oct 30, 2005 at 03:37:33PM -0500, Thien-Thi Nguyen wrote: >From: Neil Jerram <[EMAIL PROTECTED]> >Date: Sun, 30 Oct 2005 18:04:58 + > >We could enforce this by [...] >I'd appreciate hearing your thoughts (again). > > if your design requires enforcement, [...] Neil con

Threads (was: mod_lisp for guile)

2005-09-19 Thread Tomas Zerolo
On Mon, Sep 19, 2005 at 11:24:34PM -0400, Alan Grover wrote: > Neil Jerram wrote: > (much elision) [...] > > How would using threads reduce resource usage? Otherwise this all > > makes sense. AFAIU inter-thread communication is just easier. And forking a thread might be easier on VM than forking

Re: /usr/lib/libguile.so.12 __sprintf_chk undefined (SuSE 9.2)

2005-09-04 Thread Tomas Zerolo
On Sat, Sep 03, 2005 at 04:13:03PM +0100, Matt Wallis wrote: > Hi, > Thank you both for replying. > > On Saturday 03 September 2005 12:55, Fabrice wrote: > > Hello, > > > > For problems with packaging/rpm/deb, please contact the packager of > > your file. The Guile project publishes .tar.gz file

Re: mkstemp strange behavior

2005-08-12 Thread Tomas Zerolo
On Wed, Aug 10, 2005 at 04:24:47PM -0300, Jos? Roberto B. de A. Monteiro wrote: > On Wed, Aug 10, 2005 at 01:54:31PM -0400, Alan Grover wrote: > > I ran into this too. My reasoning was something like: > > > > The string, "/tmp/XX" is constructed at reader time. [...] [...] > Thanks Alan, I thi