<div dir="ltr">Hi Dave, by the results of hoogle *, it looks like (<*) is defined in Applicative. I think Applicative is a super class of Monad in newer GHC and is now included in the Prelude. So, I believe it would be safe to just remove it. <div><br></div><div>* <a href="https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a" target="_blank">https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers</div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-09 21:55 GMT-06:00 Dave Macias <span dir="ltr"><<a href="mailto:davama@gmail.com" target="_blank">davama@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for responding Brent.<br><br><div>Not very good at haskell myself. <br>Im looking at the XMonad.Actions.Volume and there i find:</div><div><div><br></div><div>infixl 1 <*</div><div>(<*) :: Monad m => m a -> m b -> m a</div><div>pa <* pb = pa >>= \a -> pb >> return a</div></div><div><br></div><div>I'm assuming this is what you were referring to for solution (1). I've  been trying to play with it but i get mixed errors when building, how do i rename? </div><div>Here is the code just in case im looking at it wrong:</div><div><a href="https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs" target="_blank">https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs</a><br></div><div><br></div><div>I also plan to email the maintainer, but i would like to have this work for educational purposes.</div><div> </div><div>Thanks,</div><div>Dave</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 9, 2015 at 10:04 AM, Brent Yorgey <span dir="ltr"><<a href="mailto:byorgey@gmail.com" target="_blank">byorgey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It looks like XMonad.Actions.Volume defines an operator (<span style="font-size:13.1999998092651px;line-height:19.7999992370605px"><*), but as of base-4.8 an operator with that name has been added to the Prelude.  The fix would be to either (1) rename the operator in XMonad.Actions.Volume, or (2) hide the operator from Prelude and tell everyone who wants to use XMonad.Actions.Volume.(<*) that they need to hide it from Prelude too.</span><br><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px"><br></span></div><div><span style="font-size:13.1999998092651px;line-height:19.7999992370605px">xmonad-extras is not officially a part of the xmonad project; you should contact the maintainers listed at </span><a href="http://hackage.haskell.org/package/xmonad-extras" target="_blank">http://hackage.haskell.org/package/xmonad-extras</a> .</div><div><br></div><div>-Brent</div></div><br><div class="gmail_quote"><div><div>On Mon, Apr 6, 2015 at 11:45 PM Dave Macias <<a href="mailto:davama@gmail.com" target="_blank">davama@gmail.com</a>> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">This is my first time posting here so i hope im doing this right. <br>Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib, and xmobar.<div>I also use xmonad-extras but it failed during the build. I tried using cabal and also from source but both give same output:</div><div><br></div><div>$ cabal install xmonad-extras</div><div><br></div><div>Resolving dependencies...</div><div>Configuring xmonad-extras-0.12...</div><div>Building xmonad-extras-0.12...</div><div>Failed to install xmonad-extras-0.12</div><div>Build log ( /home/dvmacias/.cabal/logs/xmonad-extras-0.12.log ):</div><div>Configuring xmonad-extras-0.12...</div><div>Building xmonad-extras-0.12...</div><div>Preprocessing library xmonad-extras-0.12...</div><div>[1 of 2] Compiling XMonad.Util.WindowPropertiesRE ( XMonad/Util/WindowPropertiesRE.hs, dist/build/XMonad/Util/WindowPropertiesRE.o )</div><div>[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs, dist/build/XMonad/Actions/Volume.o )</div><div><br></div><div>XMonad/Actions/Volume.hs:173:23:</div><div>    Ambiguous occurrence ‘<*’</div><div>    It could refer to either ‘XMonad.Actions.Volume.<*’,</div><div>                             defined at XMonad/Actions/Volume.hs:66:4</div><div>                          or ‘Prelude.<*’,</div><div>                             imported from ‘Prelude’ at XMonad/Actions/Volume.hs:15:8-28</div><div>                             (and originally defined in ‘GHC.Base’)</div><div><br></div><div>XMonad/Actions/Volume.hs:173:43:</div><div>    Ambiguous occurrence ‘<*’</div><div>    It could refer to either ‘XMonad.Actions.Volume.<*’,</div><div>                             defined at XMonad/Actions/Volume.hs:66:4</div><div>                          or ‘Prelude.<*’,</div><div>                             imported from ‘Prelude’ at XMonad/Actions/Volume.hs:15:8-28</div><div>                             (and originally defined in ‘GHC.Base’)</div><div><br></div><div>XMonad/Actions/Volume.hs:200:62:</div><div>    Ambiguous occurrence ‘<*’</div><div>    It could refer to either ‘XMonad.Actions.Volume.<*’,</div><div>                             defined at XMonad/Actions/Volume.hs:66:4</div><div>                          or ‘Prelude.<*’,</div><div>                             imported from ‘Prelude’ at XMonad/Actions/Volume.hs:15:8-28</div><div>                             (and originally defined in ‘GHC.Base’)</div><div><br></div><div>XMonad/Actions/Volume.hs:215:32:</div><div>    Ambiguous occurrence ‘<*’</div><div>    It could refer to either ‘XMonad.Actions.Volume.<*’,</div><div>                             defined at XMonad/Actions/Volume.hs:66:4</div><div>                          or ‘Prelude.<*’,</div><div>                             imported from ‘Prelude’ at XMonad/Actions/Volume.hs:15:8-28</div><div>                             (and originally defined in ‘GHC.Base’)</div><div><br></div><div>XMonad/Actions/Volume.hs:225:58:</div><div>    Ambiguous occurrence ‘<*’</div><div><br></div><div>    It could refer to either ‘XMonad.Actions.Volume.<*’,</div><div>                             defined at XMonad/Actions/Volume.hs:66:4</div><div>                          or ‘Prelude.<*’,</div><div>                             imported from ‘Prelude’ at XMonad/Actions/Volume.hs:15:8-28</div><div>                             (and originally defined in ‘GHC.Base’)</div><div>cabal: Error: some packages failed to install:</div><div>xmonad-extras-0.12 failed during the building phase. The exception was:</div><div>ExitFailure 1</div><div><br></div><div><br></div><div>I got to look at the log but it just has what i pasted above. System is Arch 3.19.2-1-ARCH</div><div><br></div><div>Any input is appreciated.</div><div>Thanks</div><div>dave</div></div></div></div>
______________________________<u></u>_________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" target="_blank">http://mail.haskell.org/cgi-<u></u>bin/mailman/listinfo/xmonad</a><br>
</blockquote></div>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
xmonad mailing list<br>
<a href="mailto:xmonad@haskell.org" target="_blank">xmonad@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad</a><br>
<br></blockquote></div><br></div></div>