ekmett / linear

Low-dimensional linear algebra primitives for Haskell.
http://hackage.haskell.org/package/linear
Other
198 stars 50 forks source link

Build failure for linear 1.9 #33

Closed snoyberg closed 10 years ago

snoyberg commented 10 years ago
[12 of 20] Compiling Linear.V         ( src/Linear/V.hs, dist/build/Linear/V.o )

src/Linear/V.hs:287:37:
    Ambiguous occurrence `index'
    It could refer to either `Lens.index',
                             imported from `Control.Lens' at src/Linear/V.hs:48:1-27
                             (and originally defined in `Control.Lens.Indexed')
                          or `Data.Functor.Rep.index',
                             imported from `Data.Functor.Rep' at src/Linear/V.hs:52:1-23

In case it helps, here's the list of dependencies compiled against:

/opt/ghc-7.4.2/bin/ghc --make -fbuilding-cabal-package -O -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name linear-1.9 -hide-all-packages -no-user-package-conf -package-conf /var/lib/jenkins/workspace/Stackage with GHC 7.4.2 no HP/stackage/sandbox/package-db -package-conf dist/package.conf.inplace -package-id adjunctions-4.0.2-8508728fbcfca6da69f410beef808815 -package-id base-4.5.1.0-66f22db3dfcd87541c9c7e50e7095d26 -package-id binary-0.5.1.0-1dd25e339bc04e2d8ca8103c35947bf6 -package-id containers-0.4.2.1-75f143aa39a3e77a1ce2300025bdd8ce -package-id distributive-0.4-6904bfd74c396ff9bbc3124a01d54437 -package-id ghc-prim-0.2.0.0-7d3c2c69a5e8257a04b2c679c40e2fa7 -package-id hashable-1.2.1.0-d1c30e608c4a205e735527c4ee1eef95 -package-id lens-4.0.5-7757191438cdf1946fc9b14cc09ae43d -package-id reflection-1.4-41707588ee0b794fe554c4e00a5ccd47 -package-id semigroupoids-4.0-9884dfeb7141abbbcbe6d00162802171 -package-id semigroups-0.12.2-986e2309921aeb43bb6298bb6eb9ae7d -package-id tagged-0.7-6a76711121b053f1f4a07d2e528e4947 -package-id template-haskell-2.7.0.0-ea0103105685f73dfd311f959f3ec5a5 -package-id transformers-0.3.0.0-8e66ecc7d4dae2b07b2b5406908c70e4 -package-id unordered-containers-0.2.3.3-bb2367957511c4dcd385b8f1cdddd32d -package-id vector-0.10.9.1-156c25b890435eaeab1a012545441415 -package-id void-0.6.1-e9a931e30ce8da0833d33dd8285bd347 -XHaskell98 Linear Linear.Affine Linear.Algebra Linear.Binary Linear.Conjugate Linear.Covector Linear.Epsilon Linear.Instances Linear.Matrix Linear.Metric Linear.Plucker Linear.Quaternion Linear.Trace Linear.V Linear.V0 Linear.V1 Linear.V2 Linear.V3 Linear.V4 Linear.Vector -Wall -fwarn-tabs -O2 -fdicts-cheap -funbox-strict-fields

ekmett commented 10 years ago

Thanks. Shipped a bad version (on multiple fronts!). Fixed.

ekmett commented 10 years ago

1.9.0.1 is now on Hackage.