ekmett / comonad

Haskell 98 comonads
http://hackage.haskell.org/package/comonad
Other
77 stars 32 forks source link

comonad-5 doctest suite failure when building with ghc 8.0.1-rc #33

Closed peti closed 8 years ago

peti commented 8 years ago
running tests
Running 1 test suites...
Test suite doctests: RUNNING...
### Failure in src/Control/Comonad/Trans/Store.hs:174: expression `pos . seeks swap $ store fst (1,5)'
expected: (5,1)
 but got: 
          <interactive>:77:13: error:
              Variable not in scope: swap :: (a, b) -> (a, b)
Examples: 17  Tried: 17  Errors: 0  Failures: 1
Test suite doctests: FAIL
Test suite logged to: dist/test/comonad-5-doctests.log
0 of 1 test suites (0 of 1 test cases) passed.
RyanGlScott commented 8 years ago

This is fixed as of cd57e2bf6b84d25bcd45c7e7cf76a9f07d71e381.