Commit 535fe92f authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Allow use of "and"



It is not necessarily bad coding stile to use "and" to present
a list of conditions. In fact, a statement like

    and [ foo == foo'
        , bar == bar'
        , baz == baz'
        ]

can be more readable than the equivalent

    (foo == foo')
      && (bar == bar')
      && (baz == baz')
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
parent 38b3e03d
......@@ -2302,6 +2302,7 @@ hlint: $(HS_BUILT_SRCS) src/lint-hints.hs
$(HLINT) --utf8 --report=doc/hs-lint.html --cross $$C \
--ignore "Use first" \
--ignore "Use &&&" \
--ignore "Use &&" \
--ignore "Use void" \
--ignore "Reduce duplication" \
--hint src/lint-hints \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment