-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use stdcompat to support old OCaml version
This PR removes the `compat` modules and some functions in `lists` that were defined for compatibility purpose with old versions of OCaml. Use stdcompat to keep this backward compatibility.
- Loading branch information
Showing
11 changed files
with
14 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -662,13 +662,13 @@ let parse_execution_opt = | |
else | ||
match Config.lookup_prelude p with | ||
| Some p' -> | ||
begin if Compat.String.starts_with ~prefix:"b-set-theory" p then | ||
begin if Stdcompat.String.starts_with ~prefix:"b-set-theory" p then | ||
Printer.print_wrn ~header:true | ||
"Support for the B set theory is deprecated since version \ | ||
2.5.0 and may be removed in a future version. If you are \ | ||
actively using it, please make yourself known to the Alt-Ergo \ | ||
developers by writing to <[email protected]>." | ||
else if Compat.String.starts_with ~prefix:"fpa-theory" p then | ||
else if Stdcompat.String.starts_with ~prefix:"fpa-theory" p then | ||
Printer.print_wrn ~header:true | ||
"@[Support for the FPA theory has been integrated as a builtin \ | ||
theory prelude in version 2.5.0. Please use \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters