mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 10:41:59 +03:00
3e1f6aba56
Co-authored-by: Stiopa Koltsov <stepan.koltsov@gmail.com>
12 lines
218 B
Idris
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)
|