Skip to content

ReScriptify cppo files for certain belt / Js modules #5458

Closed
@ryyppy

Description

@ryyppy

As stated in #5361 (rescriptify Belt / Js docs), we noticed that some modules are generated from cppo.ml[i] files.

That means that some docs will get overridden with the old docs as soon as we re-generate the necessary files. Therefore we either need to remove cppo from our user-facing modules infra, or accommodate cppo with ReScript code.

Goal is to be able to generate the relevant res and resi files for our Js and Belt modules.

Full list of cppo files with their generated counterparts:

  • map.cppo.ml[i] -> belt_Map*
  • mapm.cppo.ml[i] -> belt_MutableMap*
  • setm.cppo.ml[i] -> belt_MutableSet*
  • hashmap.cppo.ml[i] -> belt_HashMap*
  • belt_Set.cppo.ml[i] ->belt_Set*
  • js_typed_array.cppo.ml[i] ->js_typed_array
  • js_typed_array2.cppo.ml[i] ->js_typed_array2
  • sort.cppo.ml[i] ->belt_SortArray*

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions