Idris2/tests/idris2/namespace005/Main3.idr
Andre Videla 9797a79b53 [ new ] Allow fixities to be hidden with %hide
* 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
2023-06-14 11:19:59 +01:00

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)