Re: [Chicken-users] Problems with srfi-4-comprehensions

2007-03-23 Thread Ivan Raikov
Hi Alex, Thanks for adding these extensions to loopy-loop. I still haven't looked at it, as I am still fighting with SRFI-42, but you have certainly made the case for at least considering loopy-loop. And actually, I have a question: I want to have an iterator that lets me create several

[Chicken-users] Problems with srfi-4-comprehensions

2007-03-15 Thread Ivan Raikov
Has anybody used the srfi-4-comprehensions egg recently? I get this: csi (require-extension syntax-case srfi-4 srfi-4-comprehensions srfi-42) csi (vector-ec (nested (:range i 1 4) (:range j 1 4)) (cond ((fx i j) 0.0) ((fx= i j) 1.0) (else 2.0))) #(1.0 0.0 0.0 2.0 1.0 0.0

Re: [Chicken-users] Problems with srfi-4-comprehensions

2007-03-15 Thread Alex Shinn
On 3/16/07, Ivan Raikov [EMAIL PROTECTED] wrote: Could someone who actually understands Scheme macros and comprehensions take a look at this? Thanks a bunch, I won't touch SRFI-42, but if you'd use it I'll provide a SRFI-4 extension to loopy-loop :) -- Alex