Ticket #20 (new defect)

Opened 5 years ago

Cannot compile (possibly due to incorrect dependencies?)

Reported by: ADStark Owned by:
Priority: minor Milestone:
Version: Keywords:
Cc:

Description

During build, I get

src/Graphics/FieldTrip/Vector2.hs:113:24:
    Couldn't match expected type `a :->: b'
           against inferred type `Float
                                  Data.LinearMap.:-* (Float :> Vector2 Float)'
    In the first argument of `untrie', namely `derivative v'
    In the first argument of `cross2', namely
        `(derivative v `untrie` ())'
    In the expression: cross2 (derivative v `untrie` ())

also there is a problem with the implementation of Graphics.FieldTrip.ParamSurf?.torus which I "resolved"(?) by uncommenting the commented lines and vice versa.

This is on GHC 6.10.1, with the following libraries:

    Cabal-1.6.0.1, array-0.2.0.0, base-3.0.3.0, base-4.0.0.0,
    bytestring-0.9.1.4, containers-0.2.0.0, directory-1.0.0.2,
    editline-0.2.1.0, filepath-1.1.0.1, (ghc-6.10.1), ghc-prim-0.1.0.0,
    haskell98-1.0.1.0, hpc-0.5.0.2, integer-0.1.0.0, mtl-1.1.0.2,
    network-2.2.1.1, old-locale-1.0.0.1, old-time-1.0.0.1,
    packedstring-0.1.0.1, parsec-3.0.0, pretty-1.0.1.0,
    process-1.0.1.0, random-1.0.0.1, rts-1.0, syb-0.1.0.0,
    template-haskell-2.3.0.0, unix-2.3.1.0
~/.ghc/i386-linux-6.10.1/package.conf:
    GLUT-2.1.2.1, HTTP-4000.0.4, MemoTrie-0.4.3, OpenGL-2.2.2.0,
    QuickCheck-1.2.0.0, TypeCompose-0.6.4, graphicsFormats-0.1,
    vector-space-0.5.7, zlib-0.5.0.0
Note: See TracTickets for help on using tickets.