-
Notifications
You must be signed in to change notification settings - Fork 469
Add syntax surface, module type name and tests for dynamic import #6188
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
Conversation
mununki
commented
Apr 22, 2023
•
edited
Loading
edited
- Safe module type name
- Adding syntax surface for dynamic import.
- Test pass: duplicated symlinked packages, transitive pinned packages
(* Unpack requires core_type package for type inference: | ||
Generate a module type name eg. __Belt_List__*) | ||
let local_module_type_name txt = | ||
"_" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why single underscore before and double afterwards ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because I add seperator "_"
inside List.fold_left (fun ll l -> ll ^ "_" ^ l) ""
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is double, then module type name would be ___Belt_List__
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the tests are fine this is ready to merge I think.
Thanks! |
713b3b9
to
e70407a
Compare
e70407a
to
13af346
Compare