RSSAmplifier

Blog

Grim's web corner

Notes, essays and ramblings

gr-im.github.ioRSS feed ↗3 posts

Latest posts

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).

Sorting things, rank-aggregation (beginner's approach)

Summary of a response about how to order products by their votes/reviews using rank aggregation (using Shopify approach).

Fold for cheap pattern-matching

Summary of a response regarding the encoding of visitors without pattern matching in OCaml, using the fold function.