Dear Prefacers,
With the modular explicit feature on the corner I wonder if you'd have an interest for creating a long-lived experimental branch in this repo where we could explore a defunctorization of the code. I'm thinking where preface currently exposes a functor, could be expressed as regular functions operating on explicit first-class modules. It is my understanding (from the user land) that the module dependent capability will unlock the feasibility of an extension like this.
Why? First I think that'd be well inline with the pedagogical goals of the project.
But also, where sometimes you might not feel compelled to apply an entire functor just because you need one function, with a granularity of each function exposed with the explicit module, you may just start using them here and there.
I suspect this was your plan all along!
Dear Prefacers,
With the modular explicit feature on the corner I wonder if you'd have an interest for creating a long-lived experimental branch in this repo where we could explore a defunctorization of the code. I'm thinking where preface currently exposes a functor, could be expressed as regular functions operating on explicit first-class modules. It is my understanding (from the user land) that the module dependent capability will unlock the feasibility of an extension like this.
Why? First I think that'd be well inline with the pedagogical goals of the project.
But also, where sometimes you might not feel compelled to apply an entire functor just because you need one function, with a granularity of each function exposed with the explicit module, you may just start using them here and there.
I suspect this was your plan all along!