Fun with Algebraic Effects - from Toy Examples to Hardcaml Simulations
Deep dive 17 min +170 XP
Algebraic effects in OCaml 5/OxCaml can replace monads for most uses, and Jane Street ported Hardcaml_step_testbench from a monadic API to effects.
Algebraic effects in OCaml 5/OxCaml can replace monads for most uses, and Jane Street ported Hardcaml_step_testbench from a monadic API to effects.
Three Jane Street intern projects, all in OCaml. The first is an SQL-like temporal query language, parsed with Angstrom and compiled onto a Linear Temporal Logic engine, for finding event sequences in Concord's transaction stream.
Jane Street's OCaml extensions use a new `sync` mode to make data races statically unrepresentable in multicore OCaml 5.