haskell / vector

An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework .
Other
367 stars 139 forks source link

Fix doctests for GHC 8.10 and 9.0 #435

Closed HanStolpo closed 2 years ago

HanStolpo commented 2 years ago

Fix doctests to work for later versions of GHC. The cabal file specifies the default language to be Haskell2010 but doctest seems to not pickup this configuration. We fix this by passing this in as a command line argument to doctest.

Relates to github issue https://github.com/haskell/vector/issues/370

lehins commented 2 years ago

Awesome!!!! Thank you Handre