ocaml.org
ocaml.org copied to clipboard
The official OCaml website.
Hello, I wrote a new lesson on polymorphic variants. You can find it [here](https://hackmd.io/@wqo57Le0RIyZVlb8qdJ8PA/HJchCEX6ye/edit). I appreciate any feedback you may have. I expect that if there is interest in including...
Since the search bar is displayed on every page, @contificate suggestions was implemented > Perhaps the handler should be adapted to check whether the editor component is focused?
As reported by someone on the OCaml Discord, the following code results in annoying behaviour in the playground: https://github.com/ocaml/ocaml.org/blob/76b4c342ab2a205108ca3b11f5e52dfe32c44a0b/src/ocamlorg_frontend/components/search.eml#L71-L76 On https://ocaml.org/play this results in the user being unable to type...
- Fixed broken industrial users link to ensure proper navigation. - Reorganized contributing guide by separating industrial and academic user sections into two distinct links for better clarity and accessibility.
Trying to use effects returns this error: ``` Error: Reference to undefined global `Stdlib__Effect' ``` Reproduction: https://ocaml.org/play#code=b3BlbiBFZmZlY3QKb3BlbiBFZmZlY3QuRGVlcApsZXQgaW52ZXJ0ICh0eXBlIGEpIH4oaXRlciA6IChhIC0%2BIHVuaXQpIC0%2BIHVuaXQpIDogYSBTZXEudCA9CiAgbGV0IG1vZHVsZSBNID0gc3RydWN0CiAgICB0eXBlIF8gRWZmZWN0LnQgKz0gWWllbGQgOiBhIC0%2BIHVuaXQgdAogIGVuZCBpbgogIGxldCB5aWVsZCB2ID0gcGVyZm9ybSAoTS5ZaWVsZCB2KSBpbgogIGZ1biAoKSAtPiBtYXRjaF93aXRoIGl0ZXIgeWllbGQKICB7IHJldGMgPSAoZnVuIF8gLT4gU2VxLk5pbCk7CiAgICBleG5jID0gcmFpc2U7CiAgICBlZmZjID0gZnVuICh0eXBlIGIpIChlZmYgOiBiIEVmZmVjdC50KSAtPgogICAgICBtYXRjaCBlZmYgd2l0aAogICAgICB8IE0uWWllbGQgdiAtPiBTb21lIChmdW4gKGs6IChiLF8pIGNvbnRpbnVhdGlvbikgLT4KICAgICAgICAgIFNlcS5Db25zICh2LCBjb250aW51ZSBrKSkKICAgICAgfCBfIC0%2BIE5vbmUgfQ%3D%3D
Some of these updates are to convert code blocks into Utop format. The remaining update is for the second half of this document. This second half included several suggestions for...
Hello, I created a lesson on the `Lazy` module that I'd like to propose for the language tutorials section of ocaml.org. You can find the draft on [HackMD](https://hackmd.io/@wqo57Le0RIyZVlb8qdJ8PA/B1UhnlL2yl) Please suggest...
This is 1 of 2 pull requests on the option.md tutorial. I broke these into two parts. I don't intend for part 2's suggestions to be pulled into the repo...
https://ocaml.org/industrial-users/businesses has a broken link to contribute.