dune icon indicating copy to clipboard operation
dune copied to clipboard

[draft][OxCaml] Tutorial for library parameter

Open maiste opened this issue 7 months ago • 2 comments

This PR is not ready for review. It is a way to share with @art-w the advancement regarding the documentation of library_parameter.

The tutorial aims to follow a simple flow to go through all the possibilities provided by parameterized libraries. It covers the entire "diamond" of the parameterized library, i.e.:

    parameter
   /         \
implement   parameterized
   \         /
    instance

Right now, the PR covers:

  • Setting up a project
  • Writing a parameter
  • Writing the implementation of the parameter

The remaining part are:

  • Writing a parameterized library
  • Instantiate a parameterized library

The rest of the work is subject to modification as it is currently the first draft.

maiste avatar Aug 01 '25 14:08 maiste

@maiste is it ok if I push to this branch directly?

Sudha247 avatar Aug 28 '25 10:08 Sudha247

Yes it that exactly the purpose of this PR 😄

maiste avatar Aug 28 '25 10:08 maiste