Re: core.match "invert" match

2012-07-24 Thread David Nolen
On Tue, Jul 24, 2012 at 6:03 AM, Simone Mosciatti wrote: > Thanks, it was what i thought... > > Any other suggestion is still welcome :-) I don't really understand your example. Can you clarify? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To pos

Re: core.match "invert" match

2012-07-24 Thread Simone Mosciatti
Thanks, it was what i thought... Any other suggestion is still welcome :-) On Tuesday, July 24, 2012 12:50:47 AM UTC+2, David Nolen wrote: > > On Mon, Jul 23, 2012 at 6:42 PM, Simone Mosciatti > wrote: > > Hi everybody, > > I was looking if it is possible to invert the match macro, an example

Re: core.match "invert" match

2012-07-23 Thread David Nolen
On Mon, Jul 23, 2012 at 6:42 PM, Simone Mosciatti wrote: > Hi everybody, > I was looking if it is possible to invert the match macro, an example worth > more than 1000 words. > > (def x (match [a b] >[true true] 0.5 >[false true] 0.6 >[true false] 0.4 >[false false] 0.8)) > > (max