unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* shared-array composition bug
@ 2005-04-10 23:16 Kevin Ryde
  2005-05-22 17:20 ` Marius Vollmer
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2005-04-10 23:16 UTC (permalink / raw)


The cvs seems to have a bug in making a shared array from what's
already a shared array,

	(define a #2((1 2 3) (4 5 6) (7 8 9)))

	(define s (make-shared-array a (lambda (i) (list i 1)) 3))
	(display s) (newline)

	(define t (make-shared-array s list '(1 2)))
	(display t) (newline)

"s" is a shared array which is column 1 of "a", ie. (2 5 8).  "t" is
meant to be range 1 to 2 of "s", ie. (5 8), but it comes out as (4 7).

	#(2 5 8)
	#1@1(4 7)

This works in 1.6, so I'm guessing it's some recent regression.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-22 17:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-10 23:16 shared-array composition bug Kevin Ryde
2005-05-22 17:20 ` Marius Vollmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).