You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One idea, which requires heavy development work, is to make ghci:s :browse and :doc amenable for machine consumption. Then cabal-docspec could :browse the modules (including re-exported ones) and find examples in :doc to test.
This is how Python's doctest works: by reflection, not by looking at the source files directly. (AFAIK).
To be clear, I won't work on the GHC part, that is my wish as tooling writer though.
One idea, which requires heavy development work, is to make ghci:s :browse and :doc amenable for machine consumption. Then cabal-docspec could :browse the modules (including re-exported ones) and find examples in :doc to test.
as it says on the tin
The text was updated successfully, but these errors were encountered: