[Chicken-users] Postgresql egg - usage for mortals?

2012-03-19 Thread Matt Welland
How do I do the equivalent of pg:query-for-each with the new api? It must be simple but I am confused. Any kind soul willing to point me in the right direction? ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] amb egg bug/confusion

2012-03-19 Thread Alan Post
On Thu, Mar 15, 2012 at 01:38:19AM +0100, Thomas Chust wrote: On Wed, 2012-03-14 at 18:23 -0600, Alan Post wrote: [...] (pretty-print (let ((s (amb 0 1 2))) (amb-collect s))) [...] produces: [...] (0) [...] Hello, to me this behaviour looks correct. amb-collect is supposed

Re: [Chicken-users] amb egg bug/confusion

2012-03-19 Thread Matt Welland
On Mon, Mar 19, 2012 at 5:55 AM, Alan Post alanp...@sunflowerriver.orgwrote: On Thu, Mar 15, 2012 at 01:38:19AM +0100, Thomas Chust wrote: On Wed, 2012-03-14 at 18:23 -0600, Alan Post wrote: [...] (pretty-print (let ((s (amb 0 1 2))) (amb-collect s))) [...] produces: [...]

Re: [Chicken-users] Postgresql egg - usage for mortals?

2012-03-19 Thread Matt Welland
On Mon, Mar 19, 2012 at 1:13 AM, Peter Bex peter@xs4all.nl wrote: On Sun, Mar 18, 2012 at 11:42:44PM -0700, Matt Welland wrote: How do I do the equivalent of pg:query-for-each with the new api? It must be simple but I am confused. Any kind soul willing to point me in the right

Re: [Chicken-users] Postgresql egg - usage for mortals?

2012-03-19 Thread Peter Bex
On Mon, Mar 19, 2012 at 10:34:14AM -0700, Matt Welland wrote: Yup, I think that is what I want. Once I saw your example it became apparent that (query ...) is similar to prepare in the perl dbi api, however I think I was confused since the paragraph describing query also mentions prepare. As

Re: [Chicken-users] amb egg bug/confusion

2012-03-19 Thread Alan Post
On Mon, Mar 19, 2012 at 09:18:29AM -0700, Matt Welland wrote: On Mon, Mar 19, 2012 at 5:55 AM, Alan Post [1]alanp...@sunflowerriver.org wrote: On Thu, Mar 15, 2012 at 01:38:19AM +0100, Thomas Chust wrote: On Wed, 2012-03-14 at 18:23 -0600, Alan Post wrote: [...]

Re: [Chicken-users] amb egg bug/confusion

2012-03-19 Thread Alan Post
On Mon, Mar 19, 2012 at 10:05:19PM +0100, Jörg F. Wittenberger wrote: On Mar 19 2012, Alan Post wrote: On Mon, Mar 19, 2012 at 09:18:29AM -0700, Matt Welland wrote: On Mon, Mar 19, 2012 at 5:55 AM, Alan Post A local-to-me ecologist is interested in sitting down and brainstorming, I hope