Re: +QueryChart without pilog

2019-12-04 Thread Alexander Burger
Hi Kashyap, On Tue, Dec 03, 2019 at 07:48:58PM -0800, C K Kashyap wrote: > I'll need a little bit more help with Pilog in QueryChart - In the code > below, Could you in the future provide code which is formatted in a more readable way? It is very hard to decipher. Better no spaces between lines,

Re: +QueryChart without pilog

2019-12-04 Thread C K Kashyap
Thanks Alex, Sure, I'll do a pp in future - also start following that conventions. About @Gen using @Names - the second argument of mapcan in the definition of @Gen is essentially @Names. I am looking for a way to avoid having to repeat the expression (filter ... (gui 'query

Re: +QueryChart without pilog

2019-12-04 Thread C K Kashyap
Okay, I have a working version but I think I should be able to do it more elegantly. I have the complete choTask function below (pretty printed ofcourse :) ) I have the repeating pattern as XXX which I replace using patch - (patch choTask 'XXX '(filter '((X) X) (mapcar '((X) (uppc (pack X)))

Re: +QueryChart without pilog

2019-12-04 Thread Alexander Burger
On Wed, Dec 04, 2019 at 02:32:57PM -0800, C K Kashyap wrote: > (patch choTask 'XXX '(filter '((X) X) (mapcar '((X) (uppc (pack X))) > *Tags))) > ... I do not understand your intention. I thougt you wanted an AND of all tags, so the @Gen generator was obsolete. My last proposal was: (de f

Re: +QueryChart without pilog

2019-12-04 Thread Alexander Burger
Hi Kashyap, > (de choTask (Dst) > >(diaform > > '(Dst) > > ( > > "--" > > "Name" > > (gui > > 'ttl > > '(+DbHint +Var +TextField) > > '(ttl +Task) Hmm, OK, perhaps not to *that* extreme. 'pretty' was not a