mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-11-28 11:05:17 +03:00
15 lines
456 B
Idris
15 lines
456 B
Idris
main : IO ()
|
|
main = do
|
|
printLn $ cast {to = Integer} "end"
|
|
printLn $ cast {to = Nat} "end"
|
|
printLn $ cast {to = Double} "end"
|
|
printLn $ cast {to = Bits8} "end"
|
|
printLn $ cast {to = Bits16} "end"
|
|
printLn $ cast {to = Bits32} "end"
|
|
printLn $ cast {to = Bits64} "end"
|
|
printLn $ cast {to = Int8} "end"
|
|
printLn $ cast {to = Int16} "end"
|
|
printLn $ cast {to = Int32} "end"
|
|
printLn $ cast {to = Int64} "end"
|
|
printLn $ cast {to = Int} "end"
|