schell / varying

Continuously varying values, made easy :)
MIT License
40 stars 5 forks source link

varying-0.7.0.0 testsuite fails to build #15

Closed juhp closed 7 years ago

juhp commented 7 years ago

In Stackage Nightly:

Preprocessing test suite 'varying-test' for varying-0.7.0.0...
[1 of 1] Compiling Main             ( test/Main.hs, dist/build/varying-test/varying-test-tmp/Main.o )

test/Main.hs:18:21: error:
    • Variable not in scope:
        (~>)
          :: Integer -> VarT m0 Integer (Event Integer) -> Var () (Maybe Int)
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:25:21: error:
    • Variable not in scope:
        (~>)
          :: Integer -> VarT m1 Integer (Event Integer) -> Var () (Maybe Int)
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:31:41: error:
    • Variable not in scope:
        (~>)
          :: Var () Int
             -> VarT m3 Integer (Event Integer) -> VarT Identity () (Maybe b1)
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:32:41: error:
    • Variable not in scope:
        (~>)
          :: Var () Int
             -> VarT m2 Integer (Event Integer) -> VarT Identity () (Maybe b0)
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:52:59: error:
    • Variable not in scope:
        (~>)
          :: Var () Int
             -> VarT m4 Integer (Event Integer) -> VarT Identity () (Event c0)
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:71:18: error:
    Variable not in scope:
      fromEvent
        :: VarT m5 Int (Maybe String) -> SplineT a (Maybe [Char]) m [Char]

test/Main.hs:121:21: error:
    • Variable not in scope:
        raceMany :: [SplineT a0 [Char] m6 Int] -> SplineT a String m a1
    • Perhaps you meant ‘raceAny’ (imported from Control.Varying)

test/Main.hs:163:15: error:
    • Variable not in scope:
        (~>) :: Integer -> VarT m7 Integer Integer -> t
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:165:34: error:
    • Variable not in scope:
        (~>)
          :: Integer
             -> VarT m8 Integer (Event Integer) -> VarT Identity a (Event Int)
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:196:49: error:
    • Variable not in scope:
        (~>)
          :: f0 (e0 (Integer -> Integer))
             -> VarT m9 Int (Event Int) -> VarT Identity a (Event (Int -> Int))
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:201:49: error:
    • Variable not in scope:
        (~>)
          :: f2 (e2 (Integer -> Integer))
             -> VarT m11 Float (Event Float)
             -> VarT Identity a (Event (Int -> Int))
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)

test/Main.hs:202:46: error:
    • Variable not in scope:
        (~>)
          :: f1 (e1 Integer)
             -> VarT m10 Float (Event Float) -> VarT m a (Event c)
    • Perhaps you meant one of these:
        ‘>>’ (imported from Prelude),
        ‘*>’ (imported from Control.Applicative),
        ‘>’ (imported from Prelude)
schell commented 7 years ago

Of course! Thanks

juhp commented 7 years ago

Thanks!

juhp commented 7 years ago

I am afraid there was one in the benchmarks too for :

Preprocessing benchmark 'varying-bench' for varying-0.7.0.2...
[1 of 1] Compiling Main             ( bench/Main.hs, dist/build/varying-bench/varying-bench-tmp/Main.o )

bench/Main.hs:28:19: error:
    • Variable not in scope:
        (~>) :: VarT m b b -> VarT m0 Integer Integer -> VarT m b b
    • Perhaps you meant one of these:
        ‘*>’ (imported from Control.Applicative),
        ‘>>’ (imported from Control.Monad), ‘>’ (imported from Prelude)
schell commented 7 years ago

Yes, I saw that last night as well. It's fixed in master but I decided to do a full audit from lts-2 on up. I've run into a number of barriers though, as I can't get any lts that uses ghc <= 7.8 to build (I'm on mac). I fiddled around with docker but after installing the lts-2 docker image stack build --fast --docker seems to hang. Now I'm just fixing errors as I find them in travis. Slow but effective.

juhp commented 7 years ago

Thanks

schell commented 7 years ago

I've pushed a new version to hackage that seems to be passing travis' tests, with the exception of ghc7.6.3 where criterion is erring because of some jquery dependency.

juhp commented 7 years ago

Thanks!

cc @snoyberg