ReScript HomeReScript Home
DocsPlaygroundBlogCommunityPackages
  • Playground
  • Blog
  • Community
  • Packages
  • X
  • Bluesky
  • GitHub
  • Forum
Language ManualAPISyntax LookupReact

Syntax Lookup

Enter some language construct you want to know more about.
This is the standalone doc comment syntax.

Use a standalone doc comment to write documentation text that is not attached to a specific value or type declaration.

Example

ReScriptJS Output
/*** This module contains utility helpers for date formatting. */
module DateUtils = {
  let formatIso = date => date
}

References

  • Overview

© 2026 The ReScript Project

About
  • Community
  • ReScript Association
Find us on