We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd8283d commit 436edd8Copy full SHA for 436edd8
src/stdlib/Sys.fs
@@ -28,6 +28,15 @@ type IExports =
28
abstract prefix: string
29
abstract version: string
30
abstract version_info: VersionInfo
31
+ /// Exits with code 0, indicating success
32
+ /// See https://docs.python.org/3/library/sys.html#sys.exit
33
+ abstract exit: unit -> 'a
34
+ /// Exits with provided status
35
36
+ abstract exit: status: int -> 'a
37
+ /// Exits with exit status 1, printing message to stderr
38
39
+ abstract exit: message: string -> 'a
40
41
/// System-specific parameters and functions
42
[<ImportAll("sys")>]
0 commit comments