Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/stdlib/Sys.fs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ type IExports =
abstract prefix: string
abstract version: string
abstract version_info: VersionInfo
/// Exits with code 0, indicating success
/// See https://docs.python.org/3/library/sys.html#sys.exit
abstract exit: unit -> 'a
/// Exits with provided status
/// See https://docs.python.org/3/library/sys.html#sys.exit
abstract exit: status: int -> 'a
/// Exits with exit status 1, printing message to stderr
/// See https://docs.python.org/3/library/sys.html#sys.exit
abstract exit: message: string -> 'a

/// System-specific parameters and functions
[<ImportAll("sys")>]
Expand Down