[Haskell-beginners] Java-Bridge, Ambiguous occurrence ‘<$’
Desonte Jolivet
jolivetdesonte at yahoo.com
Thu Nov 3 04:49:36 UTC 2016
Hello All:
Im interested interfacing with the JVM through Haskell and I found this neat library on Hackag name java-bridge although when I try and install with cabal I get the below error, "Ambiguous occurrence ‘<$’". Any tips on how to clear this up or how I should proceed would be very helpful, Thank you all in advance.
src/Foreign/Java/IO.hs:5:7: Warning: -XOverlappingInstances is deprecated: instead use per-instance pragmas OVERLAPPING/OVERLAPPABLE/OVERLAPS[ 1 of 24] Compiling Foreign.Java.Tutorial ( src/Foreign/Java/Tutorial.hs, dist/build/Foreign/Java/Tutorial.o )[ 2 of 24] Compiling Foreign.Java.IO ( src/Foreign/Java/IO.hs, dist/build/Foreign/Java/IO.o )[ 3 of 24] Compiling Foreign.Java.Control ( src/Foreign/Java/Control.hs, dist/build/Foreign/Java/Control.o )[ 4 of 24] Compiling Foreign.Java.Bindings.ReflectHaskell ( src/Foreign/Java/Bindings/ReflectHaskell.hs, dist/build/Foreign/Java/Bindings/ReflectHaskell.o )[ 5 of 24] Compiling Foreign.Java.Bindings.Haskell2Java ( dist/build/Foreign/Java/Bindings/Haskell2Java.hs, dist/build/Foreign/Java/Bindings/Haskell2Java.o )[ 6 of 24] Compiling Foreign.Java.Bindings.HaskellTypes ( src/Foreign/Java/Bindings/HaskellTypes.hs, dist/build/Foreign/Java/Bindings/HaskellTypes.o )[ 7 of 24] Compiling Foreign.Java.Bindings.JavaSE6 ( src/Foreign/Java/Bindings/JavaSE6.hs, dist/build/Foreign/Java/Bindings/JavaSE6.o )[ 8 of 24] Compiling Foreign.Java.Utils ( src/Foreign/Java/Utils.hs, dist/build/Foreign/Java/Utils.o )[ 9 of 24] Compiling Foreign.Java.Bindings.JavaTypes ( src/Foreign/Java/Bindings/JavaTypes.hs, dist/build/Foreign/Java/Bindings/JavaTypes.o )[10 of 24] Compiling Foreign.Java.Util ( src/Foreign/Java/Util.hs, dist/build/Foreign/Java/Util.o )
src/Foreign/Java/Util.hs:5:19: Ambiguous occurrence ‘<$’ It could refer to either ‘Foreign.Java.Util.<$’, defined at src/Foreign/Java/Util.hs:24:1 or ‘Prelude.<$’, imported from ‘Prelude’ at src/Foreign/Java/Util.hs:4:8-24 (and originally defined in ‘GHC.Base’)cabal: Error: some packages failed to install:java-bridge-0.20130606.3 failed during the building phase. The exception was:ExitFailure 1
-Jo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/beginners/attachments/20161103/37a44afb/attachment.html>
More information about the Beginners
mailing list