MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1xva4qf/ml_modules_for_mere_mortals/
r/programming • u/thunderseethe • 8d ago
5 comments sorted by
4
Wow, that really is cool. Man I wish I got to work in Ocaml (or F# maybe) someday.
4 u/Aljamous-Vilina 8d ago the catch with F# is you don't actually get the parameterized modules from the post, they traded functors away for cleaner object interop 1 u/daidoji70 8d ago Ahh that's a shame. This blog really sold me on this pattern 2 u/jurado_alexandra-9 4d 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.
the catch with F# is you don't actually get the parameterized modules from the post, they traded functors away for cleaner object interop
1 u/daidoji70 8d ago Ahh that's a shame. This blog really sold me on this pattern 2 u/jurado_alexandra-9 4d 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.
1
Ahh that's a shame. This blog really sold me on this pattern
2 u/jurado_alexandra-9 4d 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.
2
The pattern may still translate if you need abstraction over types; F# generics and interfaces cover some cases, though not functor-style module composition.
4
u/daidoji70 8d ago
Wow, that really is cool. Man I wish I got to work in Ocaml (or F# maybe) someday.