Anyone else working on a Common Lisp style loop?
Hi! Is anyone else working on a Common Lisp style loop? I'd hate to duplicate effort. I wrote one yesterday, though I still have to read that stuff on how to decently package a lib. ;) http://github.com/tayssir/cl-loop/tree/master (I might not have written this, but I couldn't figure out a pleasant way to iterate many things serially. List comprehensions are really close, but they're not serial in the sense I mean it.) All the best, Tayssir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Anyone else working on a Common Lisp style loop?
Heh, I've always wanted one of these. Anyways, I think that instead of emulating loop , you should try to somewhat emulate iterate. You would need a code walker, though, because you probably wouldn't want to use brackets for all the special case loop constructs. Is there one for clojure? I don't know. Looks great, btw. I don't know anyone that has done it, but then again i'm not really on top of things. http://common-lisp.net/project/iterate/ On Sep 7, 6:59 am, Tayssir John Gabbour tayssir.j...@googlemail.com wrote: Hi! Is anyone else working on a Common Lisp style loop? I'd hate to duplicate effort. I wrote one yesterday, though I still have to read that stuff on how to decently package a lib. ;)http://github.com/tayssir/cl-loop/tree/master (I might not have written this, but I couldn't figure out a pleasant way to iterate many things serially. List comprehensions are really close, but they're not serial in the sense I mean it.) All the best, Tayssir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Anyone else working on a Common Lisp style loop?
On Sep 7, 2:51 pm, Gorsal s...@tewebs.com wrote: Heh, I've always wanted one of these. Anyways, I think that instead of emulating loop , you should try to somewhat emulate iterate. http://common-lisp.net/project/iterate/ Good point! I only used Iterate a couple times, and now I'm reading up more seriously on it... I think I can keep the conciseness of loop (in typical cases) while also having the extensibility and power of iterate. Thanks, Tayssir On Sep 7, 2:51 pm, Gorsal s...@tewebs.com wrote: Heh, I've always wanted one of these. Anyways, I think that instead of emulating loop , you should try to somewhat emulate iterate. You would need a code walker, though, because you probably wouldn't want to use brackets for all the special case loop constructs. Is there one for clojure? I don't know. Looks great, btw. I don't know anyone that has done it, but then again i'm not really on top of things. http://common-lisp.net/project/iterate/ On Sep 7, 6:59 am, Tayssir John Gabbour tayssir.j...@googlemail.com wrote: Hi! Is anyone else working on a Common Lisp style loop? I'd hate to duplicate effort. I wrote one yesterday, though I still have to read that stuff on how to decently package a lib. ;)http://github.com/tayssir/cl-loop/tree/master (I might not have written this, but I couldn't figure out a pleasant way to iterate many things serially. List comprehensions are really close, but they're not serial in the sense I mean it.) All the best, Tayssir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---
Re: Anyone else working on a Common Lisp style loop?
Heh, I've always wanted one of these. Anyways, I think that instead of emulating loop , you should try to somewhat emulate iterate. http://common-lisp.net/project/iterate/ Good point! I only used Iterate a couple times, and now I'm reading up more seriously on it... I think I can keep the conciseness of loop (in typical cases) while also having the extensibility and power of iterate. +1 for a Clojure port of Iterate; it's a fantastic library. Regards, BG -- Baishampayan Ghose b.gh...@ocricket.com oCricket.com signature.asc Description: OpenPGP digital signature
Re: Anyone else working on a Common Lisp style loop?
+1 for a Clojure port of Iterate; it's a fantastic library. I believe it's also completely specified, which is not the case for LOOP. LOOP is a little like English in that regard... very powerful, but time flies like an arrow, and fruit flies like a banana! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~--~~~~--~~--~--~---