Idris2-boot/libs/base/System.idr

13 lines
205 B
Idris
Raw Normal View History

2019-06-15 13:54:22 +03:00
module System
%cg chicken (use posix)
export
sleep : Int -> IO ()
sleep sec = schemeCall () "blodwen-sleep" [sec]
export
getArgs : IO (List String)
getArgs = schemeCall (List String) "blodwen-args" []