Issue 578 in xmonad: Make Query an instance of Applicative?

Status: New Owner: ---- New issue 578 by Javra...@gmail.com: Make Query an instance of Applicative? https://code.google.com/p/xmonad/issues/detail?id=578 This is an enhancement request: Could you make XMonad.Core.Query an instance of Applicative? Since it's already an instance of Monad and DeriveApplicative is available. It will allow more concise queries and we can get rid of "Orphan instance" warnings when deriving Applicative manually. e.g.: ((&&) <$> fmap (== "FooClass") className <*> fmap (== "Bar title") title) Thanks. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings

Comment #1 on issue 578 by allber...@gmail.com: Make Query an instance of Applicative? https://code.google.com/p/xmonad/issues/detail?id=578 We need to do this anyway with the AMP landing in 7.10. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings

Comment #2 on issue 578 by Javra...@gmail.com: Make Query an instance of Applicative? https://code.google.com/p/xmonad/issues/detail?id=578 Thanks for your response! My concern is it'll be a while before releasing 7.10, and I guess applying this changes won't break too many things. But this won't be a big deal anyway. Looking forward to 7.10 as well :) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings
participants (1)
-
codesite-noreply@google.com