On 03/07/2017 09:36 PM, Andy Wingo wrote:
> Fixed in master now. Thanks again for the report :)
I've just tested it; good work!
On 03/01/2017 06:30 PM, Andy Wingo wrote:
> On Wed 01 Mar 2017 16:11, Josep Portella Florit writes:
>> (Today I've tested it with 2.1.7.22-fcebf and it still crashed.)
>
> Ack, I didn't actually test it! I thought a related fix in 2.1.7 would
> have caught it. I wi
El 24/06/16 a les 09:11, Andy Wingo ha escrit:
> On Tue 30 Jun 2015 15:50, Josep Portella Florit writes:
>
>> This code crashes Guile 2.0.11:
>>
>> (define x (make-dynamic-state))
>> (with-dynamic-state x (lambda () (/ 1 0)))
>
> Related: http://thread.gm
It doesn't crash Guile 1.8.8, but it does crash Guile 2.1.2, and this
version outputs the following message about 2150 times: "Warning:
Unwind-only `stack-overflow' exception; skipping pre-unwind handler."
'string->bytevector' throws 'encoding-error' when the encoding is
"UTF-16" and the length of the string is greater than 128. The same
for the encoding "UTF-32" and a string of length greater than 64.
Tested on Guile 2.0.11 and 2.1.2 with the same result.
How to reproduce:
(use-modules (ice-9 ic
The workaround in my other message discards the return value of
`with-dynamic-state'. I've improved it:
(let ((w-d-s with-dynamic-state))
(set! with-dynamic-state
(lambda (s p)
(let* ((e #f)
(r (w-d-s s (lambda ()
(catch #t p
This code crashes Guile 2.0.11:
(define x (make-dynamic-state))
(with-dynamic-state x (lambda () (/ 1 0)))
For now I'm using this workaround:
(let ((w-d-s with-dynamic-state))
(set! with-dynamic-state
(lambda (s p)
(let ((e #f))
(w-d-s s (lambda ()
Hi!
Please, see the attached REPL session.
Regards
scheme@(guile-user)> ((lambda* (a #:optional (b (+ a 1))) b) 1)
While compiling expression:
ERROR: unbound var a-492
scheme@(guile-user)> (define f (lambda* (a #:optional (b (+ a 1))) b))
scheme@(guile-user)> (f 1)
$2 = 2
scheme@(guile-user)> (
Barry Fishman
Kevin J. Fletcher
Josep Portella Florit
Charles Gagnon
Fu-gangqiang
[...]
I think my name should appear like this:
[...]
Barry Fishman
Kevin J. Fletcher
Josep Portella Florit
Charles Gagnon
Fu-g
There is a missing feature for pipes created with mode OPEN_BOTH:
(use-modules (ice-9 popen))
(use-modules (rnrs io ports))
(let ((p (open-pipe "md5sum" OPEN_BOTH)))
(put-string p "hello")
(let ((x (get-string-all p)))
(close-pipe p)
x))
This code deadlocks in get-string-all because
Hi!
There is another little error in `doc/ref/api-io.texi'. The
documentation for put-char ends abruptly:
@deffn {Scheme Procedure} put-char port char
Writes @var{char} to the port. The @code{put-char} procedure returns
@end deffn
It should be:
@deffn {Scheme Procedure} put-char port char
Writ
Hi!
In the documentation for get-string-all, on module (rnrs io ports), it
says:
Scheme Procedure: get-string-all textual-input-port count
But it really only receives one argument, not two.
Link to the error in the documentation source:
http://git.savannah.gnu.org/cgit/guile.git/tree/doc/r
Hi!
The my-or example macro in the documentation has a subtle bug.
(letrec-syntax ((my-or
(syntax-rules ()
((my-or)
#t)
((my-or exp)
exp)
13 matches
Mail list logo