Hi,

while writing a comment to SRFI-245 I think I found an inconsistency in
the Implementation in Guile.

This works:

(define (using-later-variable)
  (define x y)
  (define y #t)
  x)
(using-later-variable)
;; => #t

This still works:

(define (using-later-variable)
  (define x y)
  (newline)
  (define y #t)
  x)
(using-later-variable)
;; => (newline output)
;; => #t

This fails:

(define (using-later-variable)
  (define x y)
  (display x)
  (newline)
  (define y #t)
  x)
(using-later-variable)
;; => #<unspecified>

Best wishes,
Arne
-- 
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de

Attachment: signature.asc
Description: PGP signature

Reply via email to