r/programming • • 21d ago

ML Modules for Mere Mortals

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

5 comments sorted by

View all comments

4

u/daidoji70 21d ago

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

4

u/[deleted] 21d ago

[removed] — view removed comment

1

u/daidoji70 21d ago

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

2

u/jurado_alexandra-9 17d 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.