-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
Description
Currently it is:
react entity old new token = ...I propose moving the old and new to the end, so they could be matched more easily by \cases in 9.4:
react _entity token = \cases
Nothing (Just new) -> created token
(Just old) (Just new) -> updated token
(Just old) Nothing -> deleted token
Nothing Nothing -> pure () -- idk when this happensReactions are currently unavailable