Merge pull request #110 from dgr/tweak-composables
Update `only` and `except` single-arity parameter names.
This commit is contained in:
commit
10dbbaa40b
1 changed files with 4 additions and 4 deletions
|
|
@ -308,8 +308,8 @@
|
||||||
set))
|
set))
|
||||||
|
|
||||||
(defn only
|
(defn only
|
||||||
([states]
|
([these]
|
||||||
(only (find-all-states) states))
|
(only (find-all-states) these))
|
||||||
([states these]
|
([states these]
|
||||||
(intersection (mapset var-to-str these)
|
(intersection (mapset var-to-str these)
|
||||||
(mapset var-to-str states))))
|
(mapset var-to-str states))))
|
||||||
|
|
@ -322,8 +322,8 @@
|
||||||
states))
|
states))
|
||||||
|
|
||||||
(defn except
|
(defn except
|
||||||
([states]
|
([these]
|
||||||
(except (find-all-states) states))
|
(except (find-all-states) these))
|
||||||
([states these]
|
([states these]
|
||||||
(remove (mapset var-to-str these)
|
(remove (mapset var-to-str these)
|
||||||
(mapset var-to-str states))))
|
(mapset var-to-str states))))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue