Idris2/libs/base/System/File/Support.idr
madman-bob 3e1f6aba56
Add copyFile to System.File (#1797)
Co-authored-by: Stiopa Koltsov <stepan.koltsov@gmail.com>
2021-08-30 15:31:37 +01:00

12 lines
218 B
Idris

module System.File.Support
%default total
public export
support : String -> String
support fn = "C:" ++ fn ++ ", libidris2_support, idris_file.h"
export
ok : HasIO io => a -> io (Either err a)
ok x = pure (Right x)