melange-re / melange-re.github.io

Documentation site for Melange
https://melange.re
25 stars 7 forks source link

(Example) Expose `routes` library in playground #178

Open jchavarri opened 4 months ago

jchavarri commented 4 months ago

This is just a small example based on a Twitter convo with @ManasJayanth about exposing "regular" OCaml libraries in the playground.

The changes required are the following:

And a screen capture:

image
ManasJayanth commented 4 months ago

I fed this PR to ChatGPT and asked it to create instructions for new contributors. Does it look useful?

https://chat.openai.com/share/860d8e97-3055-458e-9c22-10f7b7c1b8e8