basvandijk / concurrent-extra

Extra concurrency primitives
Other
17 stars 5 forks source link

haddock fails due to Control.Exception.block missing in base-4.7 #10

Closed soenkehahn closed 9 years ago

soenkehahn commented 10 years ago

There is a conditional import statement that is only in effect when using haddock:

https://github.com/basvandijk/concurrent-extra/blob/master/Control/Concurrent/Event.hs#L72

(I guess this is needed for these links to work: https://github.com/basvandijk/concurrent-extra/blob/master/Control/Concurrent/Event.hs#L171)

Control.Exception.block does not exist since base-4.7.0.0. Therefore haddock fails with

dist/build/tmp-29267/Control/Concurrent/Event.hs:72:34:
    Module ‘Control.Exception’ does not export ‘block’
basvandijk commented 9 years ago

Fixed by #11.