bug#36763: `guix search` does unexpected logical and

2019-09-19 Thread Ludovic Courtès
Hello, zimoun skribis: > On Mon, 16 Sep 2019 at 10:17, Ludovic Courtès wrote: > >> Bonus points if you send the patch with ‘git format-patch’ and with a >> commit log: > > I did my best here: > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37448 > > Hope I am doing right. Yup! We can close

bug#36763: `guix search` does unexpected logical and

2019-09-19 Thread zimoun
Hi Ludo, On Mon, 16 Sep 2019 at 10:17, Ludovic Courtès wrote: > Bonus points if you send the patch with ‘git format-patch’ and with a > commit log: I did my best here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=37448 Hope I am doing right. Thanks, simon

bug#36763: `guix search` does unexpected logical and

2019-09-16 Thread Ludovic Courtès
Hello! zimoun skribis: > On Thu, 25 Jul 2019 at 19:35, Ludovic Courtès wrote: > >> (fold p (make-list …) metrics) >> >> looks a lot like: >> >> (map (lambda (x) (fold p x metrics)) regexps) >> >> Well, something like that. :-) > > Second try attached with your advice. :-) Neat! > +

bug#36763: `guix search` does unexpected logical and

2019-09-13 Thread zimoun
Hi Ludo, Thank you to look at it. On Thu, 25 Jul 2019 at 19:35, Ludovic Courtès wrote: > (fold p (make-list …) metrics) > > looks a lot like: > > (map (lambda (x) (fold p x metrics)) regexps) > > Well, something like that. :-) Second try attached with your advice. :-) I am not sure

bug#36763: `guix search` does unexpected logical and

2019-07-25 Thread Ludovic Courtès
Hi Simon, zimoun skribis: > As discussed here [1], the `relevance` in `guix/ui.scm` does not match > "inter-field". > > Attached a fix. > Now, the example from the manual > $ guix search crypto library | \ > recsel -e '! (name ~ "^(ghc|perl|python|ruby)")' -p name,synopsis > outputs

bug#36763: `guix search` does unexpected logical and

2019-07-22 Thread zimoun
Dear, As discussed here [1], the `relevance` in `guix/ui.scm` does not match "inter-field". Attached a fix. Now, the example from the manual $ guix search crypto library | \ recsel -e '! (name ~ "^(ghc|perl|python|ruby)")' -p name,synopsis outputs the expected crypto libraries as