Re: Pattern matching on lists

2016-04-08 Thread Andy-
That's described here: https://github.com/clojure/core.match/wiki/Basic-usage#sequential-types Use: [([1] :seq)] On Friday, April 8, 2016 at 2:37:37 PM UTC+2, Russell Wallace wrote: > > How do you do pattern matching on lists in Clojure? I've tried using > core.match but th

Pattern matching on lists

2016-04-08 Thread Russell Wallace
How do you do pattern matching on lists in Clojure? I've tried using core.match but the examples all deal with vectors, and trying to specify a list in the apparently obvious ways gets an error message about invalid list syntax. -- You received this message because you are subscribed t