limiting results of select/3

2011-05-25 Thread Edwin Eyan Moragas
Hi list, after checking the 'select' predicate doc, i can't find any way to limit the number of results of the query. i'm thinking along the lines of the LIMIT clause of SQL. thank you. /e -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: limiting results of select/3

2011-05-25 Thread Henrik Sarvell
From http://www.prodevtips.com/2008/04/28/advanced-oodb-in-pico-lisp/ we have: (setq *Query (goal '(@Headline 2008 (db headline +Article @Headline @A (do 1 (bind (prove *Query) (println (get @A 'headline Instead of the less than practical second row you could do this: (make (do 10

Re: limiting results of select/3

2011-05-25 Thread Alexander Burger
On Thu, May 26, 2011 at 2:40 AM, Edwin Eyan Moragas e...@yndy.org wrote: Hi list, after checking the 'select' predicate doc, i can't find any way to limit the number of results of the query. On Thu, May 26, 2011 at 10:30:13AM +0700, Henrik Sarvell wrote: From