Let Signals in OCaml
summary
A small reactive UI library called Helix is implemented in OCaml and compiles with js_of_ocaml; it exposes a concrete signal type with emit/subscribe, synchronous batching, resource cleanup, and OCaml let-syntax for composing effects. Examples include incrementing counters, dynamically adding many counters and a chained “Inception” setup; reactivity updates only affected DOM nodes and avoids React-style rerender loops. Signals are signals are applicative and not monadic by design. The library is experimental, open source, and already used in production at Hyper and Tarides.
AI-written summary · about
