Closed j6carey closed 11 months ago
Actually run the doctests in "Tutorial.hs". This commit also updates those doctests to match current expected types and behavior.
Convert doctests in test-only code to ordinary unit tests because:
a. Because they are in test-only code they do not actually provide any documentation despite being expressed as doctests, and
b. It seems that doctests tend to be fragile when upgrading GHC or dependencies, especially the ones found in "TestCodeGen.hs".
Actually run the doctests in "Tutorial.hs". This commit also updates those doctests to match current expected types and behavior.
Convert doctests in test-only code to ordinary unit tests because:
a. Because they are in test-only code they do not actually provide any documentation despite being expressed as doctests, and
b. It seems that doctests tend to be fragile when upgrading GHC or dependencies, especially the ones found in "TestCodeGen.hs".