[xmonad] Issue 578 in xmonad: Make Query an instance of Applicative?
codesite-noreply at google.com
codesite-noreply at google.com
Tue Oct 7 18:57:37 UTC 2014
Status: New
Owner: ----
New issue 578 by Javra... at 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
More information about the xmonad
mailing list