overlapping-matches

    5calore

    2risposta

    ho il seguente codice: test :: String -> Bool test "g" = True test "global" = True test _ = False Quando carico in GHCi (7.0.3), ottengo: Warning: Pattern match(es) are overlapped In an equ