On Mon, Apr 28, 2014 at 8:36 AM, Phillip Lord
<[email protected]>wrote:
> I want to do the same thing where the second argument is a list of
> lists. So something like: [...]
>
>
> Is there a way to do this with functions -- or do I need to macro it?
As was already mentioned, everyg is probably the best way to approach this
problem (everyg (partial match-list member) lists), but if it helps, this
would be my first thought at an implementation without everyg:
(defne match-lists [member lists]
([_ []])
([_ [h . t]]
(match-list member h)
(match-lists member t)))
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.