Blog Post: PureScript's foreign Functions less foreign

I wrote a blog post about PureScript FFI.

  • It contains an introduction about the topic which should be suitable for beginners.

Moreover it describes two maybe less known ways to make FFI gradually safer:

  • Using JSDoc annotations which get type checked by TypeScript
  • Setting up ts-bridge to generate TypeScript types from PureScript.

Here’s the link: