Idris2/tests/idris2/misc/namespace005/Main3.idr
2023-09-07 14:57:22 +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)