Re: core.match - variable length match patterns
Probably out of scope. But this is easy to do w/ core.logic. On Fri, May 18, 2012 at 11:03 AM, David McNeil wrote: > On Friday, May 18, 2012 9:59:40 AM UTC-5, David Nolen wrote: >> >> It sounds like you're describing searching for a pattern? >> > > Yes, I think that sounds right. I am not sure how that fits into the > core.match picture. > > Thanks. > -David McNeil > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: core.match - variable length match patterns
On Friday, May 18, 2012 9:59:40 AM UTC-5, David Nolen wrote: > > It sounds like you're describing searching for a pattern? > Yes, I think that sounds right. I am not sure how that fits into the core.match picture. Thanks. -David McNeil -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: core.match - variable length match patterns
It sounds like you're describing searching for a pattern? On Fri, May 18, 2012 at 8:48 AM, David McNeil wrote: > From what I can see core.match does not support matching a variable length > series of values. For example, in a vector, match a series of 0-to-N values > of "1" followed by a value of "2". I am interested to know whether/how > match patterns like this would fit into core.match. > > Thank you. > -David McNeil > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
core.match - variable length match patterns
>From what I can see core.match does not support matching a variable length series of values. For example, in a vector, match a series of 0-to-N values of "1" followed by a value of "2". I am interested to know whether/how match patterns like this would fit into core.match. Thank you. -David McNeil -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en