mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 12:42:02 +03:00
10 lines
141 B
Idris
10 lines
141 B
Idris
|
module GCDPerf
|
||
|
|
||
|
import Data.Nat
|
||
|
import Data.Nat.Factor
|
||
|
|
||
|
%default total
|
||
|
|
||
|
main : IO ()
|
||
|
main = print (fst $ gcd 10000000 2084 @{LeftIsNotZero})
|