Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve doctests #242

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Improve doctests #242

merged 1 commit into from
Sep 26, 2023

Commits on Sep 25, 2023

  1. Improve doctests

    1. Actually run the doctests in "Tutorial.hs".
       This commit also updates those doctests to
       match current expected types and behavior.
    
    2. 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".
    j6carey committed Sep 25, 2023
    Configuration menu
    Copy the full SHA
    00e462f View commit details
    Browse the repository at this point in the history