@@ -71,6 +71,9 @@ getEnvironment = getAllPairs 0 []
7171exit : Int -> IO ()
7272exit code = mkForeign (FFun "exit" [FInt] FUnit) code
7373
74+time : IO Int
75+time = mkForeign (FFun "idris_time" [] FInt)
76+
7477usleep : Int -> IO ()
7578usleep i = mkForeign (FFun "usleep" [FInt] FUnit) i
7679