Re: [pure-lang-users] Bug with list comprehensions
Status: Beta
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2008-08-20 22:57:36
|
Eddie Rucker wrote: > > using math; > > let x = [1+:2, 1%4]; > > [(i,j); i=x; j=x]; > [(0+:1,1+:2),(0+:1,1L%4L),(0+:1,1+:2),(0+:1,1L%4L)] Yeah, that's certainly a bug. List comprehensions get processed like some kind of macro internally, and it looks like there's some bad name capturing going on there. Thanks for the report, I will have to look into this. Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |