Improve lib-crypto namespace
The following discussion from !6302 (merged) should be addressed:
-
@raphael-proust started a discussion: (+2 comments) The namespace of
Tezos_cryptois all over the place. The other libraries that areincluded inTzPervasivesare somewhat better behaved:- Stdlib:
- Has a
tezos_stdlib.mlto list the modules explicitly making merlin happier and making it easier for devs to get their head around it. - Has modules with somewhat meaningful names (mostly):
BitsBloomerBounded_heapCircular_bufferCompareFallbackArrayFunctionalArrayHash_queueTzHexLwt_dropboxLwt_idle_waiterLwt_pipeLwt_utilsMemoryTagTzEndianTzFilenameTzListTzStringUtils
- Has a
-
Tezos_RPC: all modules start with theRPC_prefix. -
Tezos_clic: has a single module calledClic -
Utils.Infix: exports a single operator (--) -
Tezos_error_monad.Error_monad: ok that one is a mess as well.
Compare with
Tezos_crypto's naked modules such asS,Helpers, etc.I think we can improve lib-crypto in general. Ping @hhugo1 @romain.nl.
- Stdlib: