- TF-IDF in OCaml: When Functional Programming ClicksApr 8, 2026 · 5 min readBuilding a local code search engine in OCaml was a good excuse to learn TF-IDF, pure pipelines, and where immutability helps.
- CogitatorSep 25, 2026 · 1 min readA local code search engine in about 500 lines of OCaml: TF-IDF over code chunks, ranked by cosine similarity, printed as context for an LLM.