packages feed

massiv-1.0.1.0: tests/doctests.hs

{-# LANGUAGE CPP #-}
module Main where

#if __GLASGOW_HASKELL__ >= 802 && __GLASGOW_HASKELL__ < 810

import Test.DocTest (doctest)

main :: IO ()
main = doctest ["-Iinclude","src"]

#else

-- TODO: fix doctest support
main :: IO ()
main = putStrLn "\nDoctests are not supported for ghc version 8.2 and prior as well as 8.10\n"

#endif