Re: List functions

2010-12-03 Thread Hans Aberg
On 1 Dec 2010, at 22:34, Keith Wright wrote: One can set the constants to functions that evaluate to themselves. One use would be expressions like (1 + f)(x). The () just shows up in the context above. I didn't really follow that, but in seems that you want to be able to apply a list of funct

Re: List functions

2010-12-03 Thread Hans Ã…berg
On 2 Dec 2010, at 17:06, Hans Aberg wrote: Another problem: passing a list of length two to a function that takes two non-arguments. For example, (define h (lambda (x y) (display x) (display y))) and passing (list 1 2) to it. It is in the same context as before: I want to build functions lik

Re: GOOPS:Can I just overload "slot-set!" under #:virtual and let alone "slot-ref" ?

2010-12-03 Thread Neil Jerram
Nala Ginrut writes: > yeah~you hit it precisely! > But I'm not sure if I modified the slot-seting call I'm not clear what you mean by that. > ,the result is all > slot-set! procedure would be effected? No, that's not the case for either of my suggestions. If you invented something like `#:all

Re: new sqlite binding

2010-12-03 Thread Neil Jerram
Andy Wingo writes: > But I would like to mention the downside of the dynamic FFI > approach: with the static FFI you get typechecking by the C > compiler, but with the dynamic FFI you're on your own. Interesting point, thanks. > I suppose you could also use the C compiler to at least check that

Re: A few patches for guile-www

2010-12-03 Thread Neil Jerram
Thien-Thi Nguyen writes: > Thanks; i appreciate the feedback. I have the impression after a > quick skim that all the changes are bugfixes (not merely enhancements). > Is that correct? Yes, I would say so. > In any case, i will gladly apply them once i figure out > their nature and suitable Ch

Re: A few patches for guile-www

2010-12-03 Thread Thien-Thi Nguyen
() Neil Jerram () Fri, 03 Dec 2010 18:24:50 + Yes, I would say so. OK, thanks for the confirmation. I'm happy to explain more if they're not immediately obvious... No worries. I'll figure it out...