Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Non-exhaustive patterns #1

snoyberg opened this Issue · 1 comment

2 participants

yesod: src\System\Win32\Notify.hs:(136,1)-(146,45): Non-exhaustive patterns in function actsToEvent

The issue is triggered when there are multiple events occurs at once. There is no patterns to handle this case.

I found a blog post desribing the ReadDirectoryChangesW API :

Due to difficulties described there, I believe that the events handling code should be changed to just past all recieved events to a handler as is.

Rename events (FileRenamedOld and FileRenamedNew) are coming in separate batches at my box, so rename detection logic looks broken too. As for me, this logic can be dropped for now, as the primary use of the lib is to detect any changes.

@snoyberg snoyberg referenced this issue in yesodweb/yesod

Yesod Install #461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.