Re: Port of simple Scala match to Clojure core.match

2015-07-18 Thread Rastko Soskic
Great :) thanks :) On Friday, July 17, 2015 at 2:14:50 AM UTC+2, Jonathan Winandy wrote: > > Hello ! > > I think, this branch (without :<< empty?)) > > (match [l prefix] > *[_ ([] :seq)] true* > > ​is already checking that prefix is empty. > > ​Have a nice day, > Jon > > > On 16 July 2015 at

Re: Port of simple Scala match to Clojure core.match

2015-07-16 Thread Jonathan Winandy
Hello ! I think, this branch (without :<< empty?)) (match [l prefix] *[_ ([] :seq)] true* ​is already checking that prefix is empty. ​Have a nice day, Jon On 16 July 2015 at 23:06, Rastko Soskic wrote: > Hi, I am getting familiar with Clojure's core.match and > simply starting with some