by danuker · 4y ago · 0 comments
I suppose it's not writing out the entire program and then writing the tests, as seems to be implied. That would mean a lot of manual testing.
Or is there a Haskell REPL where you can try out small pieces before saving them?
In the test suite you write your tests against the library. You can do that at any stage, even before writing a line of library code.
But yes, Haskell also has a REPL that can be used to experiment with code.
You can load your entire project in the repl and try your functions there.