LGTM

On Wed, Apr 9, 2014 at 9:05 PM, Klaus Aehlig <[email protected]> wrote:

> 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: Klaus Aehlig <[email protected]>
> ---
>  Makefile.am | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Makefile.am b/Makefile.am
> index eb39b74..5be9d1c 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -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 \
> --
> 1.9.1.423.g4596e3a
>
>

Reply via email to