Basic dependency injection with objects
A simple way to encode dependency injection using the Reader monad and objects in OCaml (to work well with type inference).
Notes, essays and ramblings
A simple way to encode dependency injection using the Reader monad and objects in OCaml (to work well with type inference).
Summary of a response about how to order products by their votes/reviews using rank aggregation (using Shopify approach).
Summary of a response regarding the encoding of visitors without pattern matching in OCaml, using the fold function.