mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 01:41:44 +03:00
75032a7164
* Emit warning for fixities with no export modifiers This is to help update all the existing code to program with explicit fixity export directives in preparation for the behavioral change where they will become private by default.
15 lines
178 B
Idris
15 lines
178 B
Idris
module Main3
|
|
|
|
import Lib1
|
|
|
|
private prefix 4 %%%
|
|
private infixr 8 -
|
|
|
|
(%%%) : Nat -> Nat
|
|
(%%%) = S
|
|
|
|
main : IO ()
|
|
main = do printLn (the Nat (%%% 4))
|
|
printLn (1 - 1 - 1)
|
|
|