Skip to content

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

Merged
merged 5 commits into from
Mar 9, 2025
Merged

add melange 5 blogpost #219

merged 5 commits into from
Mar 9, 2025

Conversation

anmonteiro
Copy link
Member

No description provided.

@anmonteiro anmonteiro requested review from jchavarri and davesnx March 8, 2025 06:12
@@ -0,0 +1,285 @@
---
title: Announcing Melange 5
date: 2025-03-05
Copy link
Member Author

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

Copy link
Member

@jchavarri jchavarri left a 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
Copy link
Member

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.

Copy link
Member Author

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!

@anmonteiro anmonteiro merged commit 4d69e92 into master Mar 9, 2025
@anmonteiro anmonteiro deleted the anmonteiro/melange-5-blog branch March 9, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants