Idris2/tests/chez/constfold/Fold.idr

9 lines
155 B
Idris
Raw Permalink Normal View History

2022-09-29 17:34:41 +03:00
import Data.Nat
main : IO ()
main = do
printLn (the Bits8 0xff + 100)
printLn (the Nat 12345)
printLn (the Nat (-12345))
2022-09-29 17:34:41 +03:00
printLn (271 `minus` 12)