Calling JavaScript from PureScript: A Practical Guide to the FFI
PureScript’s Foreign Function Interface (FFI) lets you call JavaScript directly. This article walks through a real example, highlights common pitfalls, and shows how to keep your code safe and maintainable.