{"id":"https:\/\/gr-im.github.io\/atom.xml","title":"Grim's web corner","subtitle":"Notes, essays and ramblings","generator":"YOCaml","updated":"2025-08-18T00:00:00Z","author":{"name":"Grim","uri":"https:\/\/gr-im.github.io","email":"grimfw@gmail.com"},"link":[{"@attributes":{"href":"https:\/\/gr-im.github.io\/atom.xml","rel":"self"}},{"@attributes":{"href":"https:\/\/gr-im.github.io"}}],"entry":[{"id":"https:\/\/gr-im.github.io\/a\/dependency-injection.html","title":"Basic dependency injection with objects","updated":"2025-08-18T00:00:00Z","summary":"\n      A simple way to encode dependency injection using the Reader monad and objects in OCaml (to work well with type inference).\n    ","link":{"@attributes":{"href":"https:\/\/gr-im.github.io\/a\/dependency-injection.html","rel":"alternate","title":"Basic dependency injection with objects"}}},{"id":"https:\/\/gr-im.github.io\/a\/rank-aggregation.html","title":"Sorting things, rank-aggregation (beginner's approach)","updated":"2024-08-10T00:00:00Z","summary":"\n      Summary of a response about how to order products by their votes\/reviews using rank aggregation (using Shopify approach).\n    ","link":{"@attributes":{"href":"https:\/\/gr-im.github.io\/a\/rank-aggregation.html","rel":"alternate","title":"Sorting things, rank-aggregation (beginner's approach)"}}},{"id":"https:\/\/gr-im.github.io\/a\/fold-gof.html","title":"Fold for cheap pattern-matching","updated":"2024-03-18T00:00:00Z","summary":"\n      Summary of a response regarding the encoding of visitors without pattern matching in OCaml, using the fold function.\n    ","link":{"@attributes":{"href":"https:\/\/gr-im.github.io\/a\/fold-gof.html","rel":"alternate","title":"Fold for cheap pattern-matching"}}}]}