ocaml.org
ocaml.org copied to clipboard
The official OCaml website.

The following `read_record` function doesn't do anything useful: https://github.com/ocaml/ocaml.org/blob/f4b7302d02d51b1f92796b9060e66d8977e309f8/data/tutorials/guides/1wf_05_garbage_collection.md?plain=1#L178-L181 The `name` and `addr` fields are copied into bytes, and the data is read into those bytes. However, the bytes are...
Add references and examples to the following standard library modules in the [Labelled and Optional Arguments](../blob/main/data/tutorials/language/0it_04_labels.md) tutorial - [ ] `ArrayLabels` - [ ] `BytesLabels` - [ ] `StringLabels` -...
For your infomation the documentation for ocaml-tls failed to build with a "no space left on device" error: https://ocaml.org/p/tls/latest/doc/index.html
# Task The color scheme for the code highlighting in the code blocks in the OCaml.org Learn area could be better. The current color scheme is this: ![Screenshot 2023-11-15 at...
closes https://github.com/ocaml/ocaml.org/issues/1852 - Added use of pattern matching in function parameters - Mention Record type for function parameters - Function Parameter Alias for tuples and records - Use alias in...
OCaml version 4.14 has _long term support_ Therefore, tutorials should not use 5.* functions outside 5.* specific contents (effects and domains). Run all the code samples in OCaml 4.14 and...
Edit: Resolves #1822 This PR address #1822 However, the limitation due to the `_build` directory lock of `dune` makes it a little difficult to use the `dune build --watch` feature.
To make it possible to write composition chains (such as `x |> f |> g |> h`) it is preferable to declare functions with their work data last (the _t-last_...
Add a self-testing mechanism to the exercises. A mean for the user to check its implementation without reading the solution. As a follow-up, those tests should be part of ocaml.org...