-
Notifications
You must be signed in to change notification settings - Fork 16
Merge 5.2.0minus-22 #191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge 5.2.0minus-22 #191
Changes from 4 commits
c01589c
2496072
6748c3a
e6211b8
7b9ed83
cd0a32f
2a601fb
89713ed
fc7f491
9d46949
7d45843
f4b00bc
a9e32a2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -259,6 +259,10 @@ let get_mode_doc mode = | |
| Some "Functions with this mode can read but not write mutable data" | ||
| | Comonadic Statefulness, Stateless -> | ||
| Some "Functions with this mode cannot access mutable data" | ||
| | Comonadic Forkable, Forkable -> | ||
| Some "Values with this mode can be forked to other threads" | ||
| | Comonadic Forkable, Unforkable -> | ||
| Some "Values with this mode cannot be forked to other threads" | ||
|
||
| in | ||
| let doc_url = | ||
| let subpage = | ||
|
|
@@ -271,6 +275,7 @@ let get_mode_doc mode = | |
| | Comonadic Yielding -> "modes/intro/" | ||
| | Monadic Visibility -> "modes/intro/" | ||
| | Comonadic Statefulness -> "modes/intro/" | ||
| | Comonadic Forkable -> "modes/intro/" | ||
| in | ||
| syntax_doc_url Oxcaml subpage | ||
| in | ||
|
|
@@ -641,16 +646,16 @@ let get_oxcaml_syntax_doc cursor_loc nodes : syntax_info = | |
| get_modality_doc modality | ||
| | _ -> get_modality_doc modality) | ||
| (* Jkinds *) | ||
| | Jkind_annotation { pjkind_desc = Abbreviation abbrev; _ } :: _ -> | ||
| | Jkind_annotation { pjkind_desc = Pjk_abbreviation abbrev; _ } :: _ -> | ||
| get_jkind_abbrev_doc abbrev | ||
| | Jkind_annotation { pjkind_desc = Mod _; _ } :: _ -> | ||
| | Jkind_annotation { pjkind_desc = Pjk_mod _; _ } :: _ -> | ||
| Some | ||
| { name = "`mod` keyword (in a kind)"; | ||
| description = "Types of this kind will cross the following modes"; | ||
| documentation = syntax_doc_url Oxcaml "kinds/intro/"; | ||
| level = Advanced | ||
| } | ||
| | Jkind_annotation { pjkind_desc = With (_, with_type, _); _ } :: _ -> ( | ||
| | Jkind_annotation { pjkind_desc = Pjk_with (_, with_type, _); _ } :: _ -> ( | ||
| match compare_cursor_to_loc with_type.ptyp_loc with | ||
| | Before -> | ||
| Some | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.