Skip to content

Conversation

lpw25
Copy link
Contributor

@lpw25 lpw25 commented Jun 30, 2020

This RFC has been extracted from #11. I suspect that this part is more contentious than the rest of #11 so it makes sense to split it out into its own RFC. From the summary:

OCaml's module system has great facilities for structuring your code
in the large. It supports encapsulation, parameterisation and even
recursion. Unfortunately not all of these facilities are available
across multiple files. The -pack feature allows you to group
multiple files together under an interface, but there isn't really
a way to allow recursion amongst a group of files.

This proposal aims to support recursion amongst groups of files by
extending recursive modules to work on groups of files via the -pack
mechanism. It is an extension of the Functor packs proposal.

@lpw25 lpw25 changed the title Add recursive packs RFC Recursive packs Jun 30, 2020
@dra27 dra27 self-assigned this Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants