[plt-scheme] Why this code based on SRFI-42 does not work under PLT Scheme ?

From: Bruno Carnazzi (bcarnazzi at gmail.com)
Date: Fri May 8 00:14:19 EDT 2009

   Hi folks,

I'd like to know why this code does not work under PLT Scheme :

(require srfi/42)

(first-ec #f (: n 0 100)  (if (even? n)) n)

It fails with message :

:until: expected <generator> in  in: (if (even? n))


Best regards,

Bruno.

PS : Please cc me, I'm not subscribed to the list


Posted on the users mailing list.