Idris2/tests/base/system_file_copyFile/CopyFile.idr

8 lines
138 B
Idris
Raw Normal View History

import System.File
main : IO ()
main = do
Right () <- copyFile "source.bin" "dest.bin"
| Left err => printLn err
pure ()