r/programming • • 14d ago

ML Modules for Mere Mortals

https://thunderseethe.dev/posts/ml-modules-for-mere-mortals/intro/
21 Upvotes

5 comments sorted by

4

u/daidoji70 13d ago

Wow, that really is cool. Man I wish I got to work in Ocaml (or F# maybe) someday.

4

u/[deleted] 13d ago

[removed] — view removed comment

1

u/daidoji70 13d ago

Ahh that's a shame.  This blog really sold me on this pattern

2

u/jurado_alexandra-9 10d ago

The pattern may still translate if you need abstraction over types; F# generics and interfaces cover some cases, though not functor-style module composition.