idiomatic elem
This commit is contained in:
parent
96e561bc47
commit
1b0edc1ab2
5 changed files with 10 additions and 10 deletions
|
|
@ -75,5 +75,5 @@ instance Arbitrary Key where
|
|||
prop_idempotent_key_read_show :: Key -> Bool
|
||||
prop_idempotent_key_read_show k
|
||||
-- backend names will never contain colons
|
||||
| elem ':' (backendName k) = True
|
||||
| ':' `elem` (backendName k) = True
|
||||
| otherwise = k == (read $ show k)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue