-
Notifications
You must be signed in to change notification settings - Fork 6
add melange 5 blogpost #219
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
@@ -0,0 +1,285 @@ | |||
--- | |||
title: Announcing Melange 5 | |||
date: 2025-03-05 |
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.
change to the desired publish date
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.
Super well written, this is a great upgrade 🌟 Thanks so much for your hard work on this and the blog post!
I think the only blocker are the images not being visible, otherwise it's just small nits.
### Dynamically `import()`ing OCaml code | ||
|
||
The example below makes it clear: we import the entire `Stdlib.Int` module, | ||
specify its type signature, and observe that no static `import`s appear in the |
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.
Should we clarify (here or somewhere else) that dynamic imports are an "unsafe" boundary, similar to bindings? Meaning, the developer is responsible of defining the right module type being imported, and the compiler has no way of checking if this definition is correct.
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.
that's actually wrong :) it's fully type-safe, and the compiler would complain if module Int
wasn't of module type of int
!
Co-authored-by: Javier Chávarri <[email protected]>
…ange-re.github.io into anmonteiro/melange-5-blog
No description provided.