mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 09:12:34 +03:00
9797a79b53
* Change the printing of namespaced operator to show parenthesis around operators * Update warning when conflicting fixities are found * Do not warn about redundant but compatible fixities
15 lines
162 B
Idris
15 lines
162 B
Idris
module Main3
|
|
|
|
import Lib1
|
|
|
|
prefix 4 %%%
|
|
infixr 8 -
|
|
|
|
(%%%) : Nat -> Nat
|
|
(%%%) = S
|
|
|
|
main : IO ()
|
|
main = do printLn (the Nat (%%% 4))
|
|
printLn (1 - 1 - 1)
|
|
|