rescript-lang / rescript-lang/rescript-lang.org

Explain opaque types

Open
#543 0 comments 3 reactions 1 assignee View on GitHub

@jderochervlk is already working on this.

Since Apr 10, 2026.

documentation
Dominant language
MDX
Stars
1.9k
Forks
260
Avg merge
3d 9h
Merged PRs (30d)
17

Description

Hi,

I often trend to link this section (https://reasonml.github.io/docs/en/type#opaque-types) from ReasonML to explain opaque types, but isn't ReScript and is more confusing that clarifying (mentioning type modules).

An explanation of the possibility to create a type alias without a specific type and keep it hidden should be more than enough.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.