Thanks! I'm glad to know this. I have adequate fluency in guile now but
very basic C hence some bugs are very opaque to me.
On Mon., 27 May 2019, 04:43 Mark H Weaver, wrote:
> Hi Christopher,
>
> Christopher Lam writes:
>
> > Addendum - wish to confirm if guile bu
See snippet below.
IMHO the second call to add1 should fail. On guile-2.2.6 it does not error
out.
On guile-2.0 it does throw error (as I think it should).
Is this intentional?
=-=-=
(define (main)
(define (add1 num)
(+ num 1))
(display "testing")
(display (add1 2))
(display (add1 2 3)
Using guile 3.0.1 (also tested with 3.0.4)
Consider following snippet
--
(define (outer-function)
(define (inner-function q w e r t y) ;takes 6 args
#f)
(inner-function 'a 'b 'c 'd 'e)) ;send 5 args
(outer-function)
--
The internally defined function is called with insufficie
Hi guilers, here's a short bash session.
Why would the first bash call to "guile s.scm" work, but not the second one?
guile-3.0.7 on ubuntu.
$ cat s.scm
(format #t "~f\n" 2.5)
$ guile s.scm
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or p
Hi guile dev team
Here's a glaring segfault in guile 3.0.8
GNU Guile 3.0.8
Copyright (C) 1995-2021 Free Software Foundation, Inc.
Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; t
Hi, we've identified an unusual behaviour in writing a test in gnucash. Can
anyone reproduce and confirmit?
I paste a simple .scm file, and its input test-file.html. Now, in
sxml-bug.scm, modify the index - from -1 to -2 i.e. access the
last/penultimate row etc.
Odd negative indices work, even n
The source seems to be sxpath.scm -- see "yikes" error which triggers when
n is -2 -4 -6 etc. I don't know how to build guile from sources and cannot
debug further.
(define (node-pos n)
(lambda (nodeset)
(cond
((not (nodeset? nodeset)) '())
((null? nodeset) nodeset)
((eqv? n