Discussion:
[xmonad] xmonad: xmonad-extras 0.12 fails to build
Dave Macias
2015-04-07 03:45:33 UTC
Permalink
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib, and
xmobar.
I also use xmonad-extras but it failed during the build. I tried using
cabal and also from source but both give same output:

$ cabal install xmonad-extras

Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Build log ( /home/dvmacias/.cabal/logs/xmonad-extras-0.12.log ):
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
dist/build/XMonad/Actions/Volume.o )

XMonad/Actions/Volume.hs:173:23:
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)

XMonad/Actions/Volume.hs:173:43:
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)

XMonad/Actions/Volume.hs:200:62:
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)

XMonad/Actions/Volume.hs:215:32:
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)

XMonad/Actions/Volume.hs:225:58:
Ambiguous occurrence ‘<*’

It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
cabal: Error: some packages failed to install:
xmonad-extras-0.12 failed during the building phase. The exception was:
ExitFailure 1


I got to look at the log but it just has what i pasted above. System is
Arch 3.19.2-1-ARCH

Any input is appreciated.
Thanks
dave
Brent Yorgey
2015-04-09 14:04:22 UTC
Permalink
It looks like XMonad.Actions.Volume defines an operator (<*), 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.

xmonad-extras is not officially a part of the xmonad project; you should
contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .

-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib, and
xmobar.
I also use xmonad-extras but it failed during the build. I tried using
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above. System is
Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Dave Macias
2015-04-10 03:55:09 UTC
Permalink
Thanks for responding Brent.

Not very good at haskell myself.
Im looking at the XMonad.Actions.Volume and there i find:

infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a

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?
Here is the code just in case im looking at it wrong:
https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs

I also plan to email the maintainer, but i would like to have this work for
educational purposes.

Thanks,
Dave
Post by Brent Yorgey
It looks like XMonad.Actions.Volume defines an operator (<*), 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.
xmonad-extras is not officially a part of the xmonad project; you should
contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .
-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib, and
xmobar.
I also use xmonad-extras but it failed during the build. I tried using
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above. System is
Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Carlos López-Camey
2015-04-10 04:16:00 UTC
Permalink
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.

*
https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a

Cheers
Post by Dave Macias
Thanks for responding Brent.
Not very good at haskell myself.
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
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?
https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs
I also plan to email the maintainer, but i would like to have this work
for educational purposes.
Thanks,
Dave
Post by Brent Yorgey
It looks like XMonad.Actions.Volume defines an operator (<*), 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.
xmonad-extras is not officially a part of the xmonad project; you should
contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .
-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib,
and xmobar.
I also use xmonad-extras but it failed during the build. I tried using
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above. System is
Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
adam vogt
2015-04-10 04:35:41 UTC
Permalink
Hi.

The fixity is different (infixl 1 not infixl 4) so using the one from
control.applicative means some parentheses have to be added.

Regards,
Assam
Post by Carlos López-Camey
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.
*
https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a
Cheers
Post by Dave Macias
Thanks for responding Brent.
Not very good at haskell myself.
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
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?
https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs
I also plan to email the maintainer, but i would like to have this work
for educational purposes.
Thanks,
Dave
Post by Brent Yorgey
It looks like XMonad.Actions.Volume defines an operator (<*), 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.
xmonad-extras is not officially a part of the xmonad project; you should
contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .
-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib,
and xmobar.
I also use xmonad-extras but it failed during the build. I tried using
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above. System is
Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Dave Macias
2015-04-14 12:15:18 UTC
Permalink
Thank you all for the replies.
I've tried removing it by simply commenting it out, but no change.
Assam, where would the parentheses go? I've fiddled with it but dont know
where. This is the block of code that i assume you are referring to:
XMonad.Actions.Volume
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a

Thanks again
Dave
Post by adam vogt
Hi.
The fixity is different (infixl 1 not infixl 4) so using the one from
control.applicative means some parentheses have to be added.
Regards,
Assam
Post by Carlos López-Camey
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.
*
https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a
Cheers
Post by Dave Macias
Thanks for responding Brent.
Not very good at haskell myself.
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
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?
https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs
I also plan to email the maintainer, but i would like to have this work
for educational purposes.
Thanks,
Dave
Post by Brent Yorgey
It looks like XMonad.Actions.Volume defines an operator (<*), 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.
xmonad-extras is not officially a part of the xmonad project; you
should contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .
-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib,
and xmobar.
I also use xmonad-extras but it failed during the build. I tried using
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above. System
is Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
adam vogt
2015-04-14 18:24:51 UTC
Permalink
headerLine >> playbackChannels >>= volumes <* eof
needs parentheses like:

(headerLine >> playbackChannels >>= volumes) <* eof

if we were to use the inflxl 4 <*
Thank you all for the replies.
I've tried removing it by simply commenting it out, but no change.
Assam, where would the parentheses go? I've fiddled with it but dont know
XMonad.Actions.Volume
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
Thanks again
Dave
Post by adam vogt
Hi.
The fixity is different (infixl 1 not infixl 4) so using the one from
control.applicative means some parentheses have to be added.
Regards,
Assam
Post by Carlos López-Camey
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.
*
https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a
Cheers
Post by Dave Macias
Thanks for responding Brent.
Not very good at haskell myself.
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
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?
https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs
I also plan to email the maintainer, but i would like to have this work
for educational purposes.
Thanks,
Dave
Post by Brent Yorgey
It looks like XMonad.Actions.Volume defines an operator (<*), 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.
xmonad-extras is not officially a part of the xmonad project; you
should contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .
-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib,
and xmobar.
I also use xmonad-extras but it failed during the build. I tried
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above. System
is Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
d***@gmail.com
2015-04-14 21:21:05 UTC
Permalink
Looks like maintainer updated the package.

Do i have to do anything to close this?




Thanks all for support

Dave



—
Sent from iPhone
Post by adam vogt
headerLine >> playbackChannels >>= volumes <* eof
(headerLine >> playbackChannels >>= volumes) <* eof
if we were to use the inflxl 4 <*
Thank you all for the replies.
I've tried removing it by simply commenting it out, but no change.
Assam, where would the parentheses go? I've fiddled with it but dont know
XMonad.Actions.Volume
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
Thanks again
Dave
Post by adam vogt
Hi.
The fixity is different (infixl 1 not infixl 4) so using the one from
control.applicative means some parentheses have to be added.
Regards,
Assam
Post by Carlos López-Camey
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.
*
https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a
Cheers
Post by Dave Macias
Thanks for responding Brent.
Not very good at haskell myself.
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
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?
https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs
I also plan to email the maintainer, but i would like to have this work
for educational purposes.
Thanks,
Dave
Post by Brent Yorgey
It looks like XMonad.Actions.Volume defines an operator (<*), 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.
xmonad-extras is not officially a part of the xmonad project; you
should contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .
-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad, xmonad-contrib,
and xmobar.
I also use xmonad-extras but it failed during the build. I tried
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume ( XMonad/Actions/Volume.hs,
dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above. System
is Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Brent Yorgey
2015-04-15 17:14:45 UTC
Permalink
Did you actually open a ticket on the issue tracker? Or just send a
message to the mailing list? If the latter, there's nothing more you need
to do.

-Brent
Post by d***@gmail.com
Looks like maintainer updated the package.
Do i have to do anything to close this?
Thanks all for support
Dave
—
Sent from iPhone
Post by adam vogt
headerLine >> playbackChannels >>= volumes <* eof
(headerLine >> playbackChannels >>= volumes) <* eof
if we were to use the inflxl 4 <*
Thank you all for the replies.
I've tried removing it by simply commenting it out, but no change.
Assam, where would the parentheses go? I've fiddled with it but dont
XMonad.Actions.Volume
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
Thanks again
Dave
Post by adam vogt
Hi.
The fixity is different (infixl 1 not infixl 4) so using the one from
control.applicative means some parentheses have to be added.
Regards,
Assam
Post by Carlos López-Camey
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.
*
https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a
Cheers
Post by Dave Macias
Thanks for responding Brent.
Not very good at haskell myself.
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
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?
https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs
I also plan to email the maintainer, but i would like to have this
work for educational purposes.
Thanks,
Dave
Post by Brent Yorgey
It looks like XMonad.Actions.Volume defines an operator (<*), 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.
xmonad-extras is not officially a part of the xmonad project; you
should contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .
-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad,
xmonad-contrib, and xmobar.
I also use xmonad-extras but it failed during the build. I tried
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume (
XMonad/Actions/Volume.hs, dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above.
System is Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
d***@gmail.com
2015-04-15 19:46:12 UTC
Permalink
I just sent an email. Thanks!




Dave



—
Sent from iPhone
Post by Brent Yorgey
Did you actually open a ticket on the issue tracker? Or just send a
message to the mailing list? If the latter, there's nothing more you need
to do.
-Brent
Post by d***@gmail.com
Looks like maintainer updated the package.
Do i have to do anything to close this?
Thanks all for support
Dave
—
Sent from iPhone
Post by adam vogt
headerLine >> playbackChannels >>= volumes <* eof
(headerLine >> playbackChannels >>= volumes) <* eof
if we were to use the inflxl 4 <*
Thank you all for the replies.
I've tried removing it by simply commenting it out, but no change.
Assam, where would the parentheses go? I've fiddled with it but dont
XMonad.Actions.Volume
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
Thanks again
Dave
Post by adam vogt
Hi.
The fixity is different (infixl 1 not infixl 4) so using the one from
control.applicative means some parentheses have to be added.
Regards,
Assam
Post by Carlos López-Camey
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.
*
https://www.haskell.org/hoogle/?hoogle=Monad+m+%3D%3E+m+a+-%3E+m+b+-%3E+m+a
Cheers
Post by Dave Macias
Thanks for responding Brent.
Not very good at haskell myself.
infixl 1 <*
(<*) :: Monad m => m a -> m b -> m a
pa <* pb = pa >>= \a -> pb >> return a
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?
https://hackage.haskell.org/package/xmonad-extras-0.12/src/XMonad/Actions/Volume.hs
I also plan to email the maintainer, but i would like to have this
work for educational purposes.
Thanks,
Dave
Post by Brent Yorgey
It looks like XMonad.Actions.Volume defines an operator (<*), 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.
xmonad-extras is not officially a part of the xmonad project; you
should contact the maintainers listed at
http://hackage.haskell.org/package/xmonad-extras .
-Brent
Post by Dave Macias
This is my first time posting here so i hope im doing this right.
Just updated ghc to 7.10.1 and had to rebuild xmonad,
xmonad-contrib, and xmobar.
I also use xmonad-extras but it failed during the build. I tried
$ cabal install xmonad-extras
Resolving dependencies...
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Failed to install xmonad-extras-0.12
Configuring xmonad-extras-0.12...
Building xmonad-extras-0.12...
Preprocessing library xmonad-extras-0.12...
[1 of 2] Compiling XMonad.Util.WindowPropertiesRE (
XMonad/Util/WindowPropertiesRE.hs,
dist/build/XMonad/Util/WindowPropertiesRE.o )
[2 of 2] Compiling XMonad.Actions.Volume (
XMonad/Actions/Volume.hs, dist/build/XMonad/Actions/Volume.o )
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
Ambiguous occurrence ‘<*’
It could refer to either ‘XMonad.Actions.Volume.<*’,
defined at
XMonad/Actions/Volume.hs:66:4
or ‘Prelude.<*’,
imported from ‘Prelude’ at
XMonad/Actions/Volume.hs:15:8-28
(and originally defined in ‘GHC.Base’)
ExitFailure 1
I got to look at the log but it just has what i pasted above.
System is Arch 3.19.2-1-ARCH
Any input is appreciated.
Thanks
dave
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
_______________________________________________
xmonad mailing list
http://mail.haskell.org/cgi-bin/mailman/listinfo/xmonad
Loading...