We're happy to Announce Thin Backend - a blazing fast, universal web app backend for making realtime SPAs

some imports are not found

JGarber

When I add imports to the Web.Component.Counter sample program some imports work and some do not. Imports that work include Text.Read and Data.Text. Imports that don't work include Data.Tuple.Curry and Text.XML.HXT.Arrow.Pickle. Dependencies I added to haskellDeps in default.nix are text, hxt, tuple. Errors are "Could not find module". Any thoughts on how to resolve this? Thanks!

Looks like import Data.Tuple and Text.XML do work.

Daniel Sokil PRO

Run nix-shell to see that your project still builds fine. After that run make -B .envrc to rebuild the development environment used by IHP. Now you can run ./start again to start the development server. The dependency can now be used as expected.