fsnotify-conduit-0.1.1.1/src/Data/Conduit/FSNotify.hs:169:33: error:
• The constructor ‘FS.Unknown’ should have 4 arguments, but has been given 3
• In the pattern: FS.Unknown _ time str
In a case alternative:
FS.Unknown _ time str -> FS.Unknown suffix time str
In the second argument of ‘($)’, namely
‘case event of
FS.Added _ time dir -> FS.Added suffix time dir
FS.Modified _ time dir -> FS.Modified suffix time dir
FS.Removed _ time dir -> FS.Removed suffix time dir
FS.Unknown _ time str -> FS.Unknown suffix time str’
|
169 | FS.Unknown _ time str -> FS.Unknown suffix time str
| ^^^^
Compilation with fsnotify-0.4.1.0 fails
Constructor Unknown added another parameter - see https://hackage.haskell.org/package/fsnotify-0.4.1.0/docs/System-FSNotify.html#t:Event vs. https://hackage.haskell.org/package/fsnotify-0.3.0.1/docs/System-FSNotify.html#t:Event
(duplicate of https://github.com/commercialhaskell/stackage/issues/6768)