summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T11128.stderr
blob: f924a19306a6eb1413bb0185864f975e738ddbc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

T11128.hs:28:5: warning:
    Noncanonical ‘pure = return’ definition detected
    in the instance declaration for ‘Applicative T1’.
    Move definition from ‘return’ to ‘pure’

T11128.hs:30:5: warning:
    Noncanonical ‘(*>) = (>>)’ definition detected
    in the instance declaration for ‘Applicative T1’.
    Move definition from ‘(>>)’ to ‘(*>)’

T11128.hs:34:5: warning:
    Noncanonical ‘return’ definition detected
    in the instance declaration for ‘Monad T1’.
    Either remove definition for ‘return’ or define as ‘return = pure’

T11128.hs:35:5: warning:
    Noncanonical ‘(>>)’ definition detected
    in the instance declaration for ‘Monad T1’.
    Either remove definition for ‘(>>)’ or define as ‘(>>) = (*>)’