Choosing a PureScript FFI Boundary for JavaScript Calls
Decide which PureScript FFI style to use when calling JavaScript, with a comparison table, trade-offs, and a validated spago workflow.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Decide which PureScript FFI style to use when calling JavaScript, with a comparison table, trade-offs, and a validated spago workflow.
A decision guide for PureScript developers: use Effect for immediate synchronous side‑effects and Aff for cancellable asynchronous work. Includes constraints, a comparison table, trade‑offs, and a runnable code example with build steps.
A decision guide for choosing PureScript's Aff monad versus Effect monad for asynchronous programming, with a comparison table, trade‑off explanation, and concrete code examples.
Learn how PureScript’s Effect monad uses row‑polymorphic types to track side‑effects, why you need explicit effect quantification for higher‑order functions, and how to verify your effect handling in practice.
Goal Determine whether the Eff monad or the Effect monad provides clearer, actionable type‑level information for diagnosing intermittent connection‑pool exhaustion in a service that experiences bursty load. Constraints and uncertainty The Eff monad (purescript‑eff) tracks individual effects via extensible rows, giving fine‑grained visibility of which allocat