Haskell exercises, Thinking Functionally with Haskell by Richard Bird
These may be installed, for example, by cabal install --lib <package>
QuickCheckhspec
cd to a location with a test script, e.g. MyFunctionSpec.hs, and try runhaskell MyFunctionSpec.hs. The runhaskell program may be obtained, for example, by installing ghcup.