Skip to content
  • mjo's avatar
    Add doctest examples for Data.Maybe · 8688f6a5
    mjo authored and Herbert Valerio Riedel's avatar Herbert Valerio Riedel committed
    To actually *run* the doctests, you need to do a little
    hacking. Somewhere after the `GHC.Base` import, you'll need to reimport
    `Maybe(..)` from `Prelude`, clobbering the `GHC.Base` definition. After
    that, doctest should be runnable from the `Data/` directory.
    
    Reviewed By: austin, hvr
    
    Differential Revision: https://phabricator.haskell.org/D561
    8688f6a5