Guile-SDL 0.4.1 available

2012-11-14 Thread Thien-Thi Nguyen
release notes: Another toe in the 2.0.6 w/ ‘GUILE_AUTO_COMPILE=0’ waters! Unfortunately, "make check DEBUG=1 GUILE_WARN_DEPRECATED=detailed" yields the ironic: `(debug-enable 'debug)' is obsolete and has no effect. Remove it from your code. and then proceeds to fail (effectively

Re: case-lambda* question

2012-11-14 Thread Daniel Hartwig
On 14 November 2012 18:20, Daniel Llorens wrote: >> When the doc. states keyword arguments do not contribute to the >> success of a match, it refers only to keyword arguments in the >> case-lambda clause, not at the call site. This makes sense, otherwise >> it would inhibit writing functions that

Re: case-lambda* question

2012-11-14 Thread A. Arias
Running this. (define f (case-lambda* ((x #:optional y) 1) ((x #:key y) 2) ((x y #:key z)3))) (f 1 2) (f #:y 2) (f 1 2 #:z 3) I get. Backtrace: In ice-9/boot-9.scm: 157: 7 [catch #t # ...] In unknown file: ?: 6 [apply-smob/1 #] In ice

Re: case-lambda* question

2012-11-14 Thread A. Arias
El mié, 14-11-2012 a las 11:20 +0100, Daniel Llorens escribió: > > Is this the test? > > (pass-if "case-lambda*" >(null? (call-with-warnings > (lambda () > (compile '(let ((f (case-lambda* >((x #:optional y) 1) >

Re: scm_apply_1() vs. scm_apply()

2012-11-14 Thread Alexei Matveev
On 14 November 2012 14:43, Hans Aberg wrote: > On 14 Nov 2012, at 11:31, Alexei Matveev wrote: > >> I see interface of scm_apply_1() and scm_apply() are the same >> and dont get the difference [1]. > > File libguile/eval.c in the distribution gives: > /* Apply a function to a list of arguments. >

Re: scm_apply_1() vs. scm_apply()

2012-11-14 Thread Hans Aberg
On 14 Nov 2012, at 11:31, Alexei Matveev wrote: > I see interface of scm_apply_1() and scm_apply() are the same > and dont get the difference [1]. File libguile/eval.c in the distribution gives: /* Apply a function to a list of arguments. This function is exported to the Scheme level as takin

SGF Utils 0.5 available

2012-11-14 Thread Thien-Thi Nguyen
release notes: Bugfixes, new commands, more configurability. (Note how we sidestep DPI detection w/ the latter. :-D) thi README excerpt: SGF Utils is a set of programs for manipulating Smart Game Format files, principally for the game of Go. This release includes one tool: the view

Re: case-lambda* question

2012-11-14 Thread Daniel Llorens
On Nov 13, 2012, at 03:46, Daniel Hartwig wrote: > On 12 November 2012 21:54, Daniel Llorens wrote: >> >> (define f >>(case-lambda* >>((a b c #:key x) 3) >>((a #:key x) 1))) >> >> scheme@(guile-user)> (g 0 #:x 1) >> $1 = 3 > > Because “0 #:x 1” is a val