it seems tidal does not make use of ghc api? in which case you could just write a small wasm frontend app that imports the tidal library and exports the haskell functions to be invoked by the frontend. there’s 15. Using the GHC WebAssembly backend — Glasgow Haskell Compiler 9.15.20251101 User's Guide, but if there’s something missing from the documentation feel free to raise an issue.
1 Like