Re: [Chicken-users] Build error on MinGW
Matt Gushee m...@gushee.net writes: Thanks, Evan. That did the trick! Although it's a pretty trivial fix, as a matter of principle I suppose I should ask: Is it OK if we incorporate this into the chicken-iup distribution? I don't see any reason why not to. Cheers, Christian -- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] A (somewhat) useful define-syntax example
Dan Leslie d...@ironoxide.ca writes: PS, can anyone explain the comment here: https://github.com/dleslie/funky/blob/master/funky.scm#L24 Hm, it does not crash for me when I compile it with a begin there. I get: --8---cut here---start-8--- $ csc funky.scm Warning: redefinition of imported syntax binding: expand-body Warning: redefinition of imported syntax binding: expand-body --8---cut here---end---8--- Which is to be expected. This is with chicken master... Kind regards, Christian -- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] do* implementation
Common Lisp has a uhh.. recursive(?) version of /do/ that defines its variables in a manner similar to /let*/, in the sense that they're defined sequentially: later variables can refer to those previous. Example: (do* ((a '(1 2 3 4 5) (cdr a)) (b (car a) (car a))) ((eq '() a)) (print b)) ; 1 ; 2 ; 3 ; 4 ; 5 Is there an egg that provides /do* /or does anyone have an implementation that they could share? I thought about writing my own, but I'm a bit rusty with scheme atm and I couldn't figure out where /do/ is defined in Chicken's source code, so I don't think I'd be able to implement it efficiently. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] do* implementation
Alexej Magura agm2...@gmail.com writes: I thought about writing my own, but I'm a bit rusty with scheme atm and I couldn't figure out where /do/ is defined in Chicken's source code, so I don't think I'd be able to implement it efficiently. It's defined in expand.scm:1261 in CHICKEN core, as it's syntax. HTH, Christian -- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users