2023-07-31 10:35:16 +03:00
|
|
|
1/3: Building Lib2 (Lib2.idr)
|
|
|
|
2/3: Building Lib1 (Lib1.idr)
|
2023-02-19 19:29:10 +03:00
|
|
|
3/3: Building Main1 (Main1.idr)
|
2023-06-11 15:28:01 +03:00
|
|
|
Warning: operator fixity is ambiguous, we are picking Lib2.infixl.(%%%) out of :
|
|
|
|
- Lib2.infixl.(%%%), precedence level 5
|
|
|
|
- Lib1.infixr.(%%%), precedence level 5
|
|
|
|
|
|
|
|
To remove this warning, use `%hide` with the fixity to remove
|
|
|
|
For example: %hide Lib2.infixl.(%%%)
|
2023-02-19 19:29:10 +03:00
|
|
|
|
2023-06-11 15:28:01 +03:00
|
|
|
Main1:7:17--7:32
|
|
|
|
3 | import Lib2
|
|
|
|
4 | import Lib1
|
|
|
|
5 |
|
|
|
|
6 | main : IO ()
|
|
|
|
7 | main = printLn (10 %%% 10 %%% 1)
|
|
|
|
^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Warning: operator fixity is ambiguous, we are picking Lib2.infixl.(%%%) out of :
|
|
|
|
- Lib2.infixl.(%%%), precedence level 5
|
|
|
|
- Lib1.infixr.(%%%), precedence level 5
|
|
|
|
|
|
|
|
To remove this warning, use `%hide` with the fixity to remove
|
|
|
|
For example: %hide Lib2.infixl.(%%%)
|
|
|
|
|
|
|
|
Main1:7:24--7:32
|
|
|
|
3 | import Lib2
|
|
|
|
4 | import Lib1
|
|
|
|
5 |
|
|
|
|
6 | main : IO ()
|
|
|
|
7 | main = printLn (10 %%% 10 %%% 1)
|
|
|
|
^^^^^^^^
|
|
|
|
|
|
|
|
0
|