mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-29 22:51:51 +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"
|