mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
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)
|
|
|