This package defines an Active
abstraction for time-varying values
with finite start and end times. It is used for describing animations
within the diagrams framework.
To install,
cabal install active
Time-varying values with start and end times.
License: Other
This package defines an Active
abstraction for time-varying values
with finite start and end times. It is used for describing animations
within the diagrams framework.
To install,
cabal install active
Seems new generator behavior in QuickCheck-2.14.3 reveals an issue in the test suite:
Running 1 test suites...
Test suite active-tests: RUNNING...
era/start +++ OK, passed 200 tests.
era/end +++ OK, passed 200 tests.
duration +++ OK, passed 200 tests.
shiftDyn/start +++ OK, passed 200 tests.
shiftDyn/end +++ OK, passed 200 tests.
shiftDyn/fun +++ OK, passed 200 tests.
active/semi-hom +++ OK, passed 200 tests.
ui/id +++ OK, passed 200 tests.
stretch/start +++ OK, passed 200 tests.
stretch/dur +++ OK, passed 200 tests.
stretchTo/dur +++ OK, passed 200 tests; 236 discarded.
during/const +++ OK, passed 200 tests; 59 discarded.
during/start +++ OK, passed 200 tests.
during/end *** Failed! Falsified (after 31 tests):
<Era (Min {getMin = Time {unTime = (-205) % 12}},Max {getMax = Time {unTime = 3583 % 348}})>
<Era (Min {getMin = Time {unTime = 194 % 13}},Max {getMax = Time {unTime = 194 % 13}})>
shift/start +++ OK, passed 200 tests.
shift/end +++ OK, passed 200 tests.
atTime/start +++ OK, passed 200 tests.
atTime/fun +++ OK, passed 200 tests.
Test suite active-tests: FAIL
Test suite logged to: dist/test/active-0.2.0.17-active-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
Ref. nick8325/quickcheck#359.
All the image links in the haddock documentation of the active package [1] are broken.
Could you please fix the links? Thank you
[1] http://hackage.haskell.org/package/active-0.2.0.6/docs/Data-Active.html
runActive (interval 1 2 |>> interval 1 2) 3
is 2.0
instead of the expected 1.0
The current version of active on hackage doesn't allow vector-space 0.9.
Whoops!
Hi,
I observe test failures on arm64 and s390x:
https://buildd.debian.org/status/fetch.php?pkg=haskell-active&arch=arm64&ver=0.2.0.4-1&stamp=1442017124
https://buildd.debian.org/status/fetch.php?pkg=haskell-active&arch=s390x&ver=0.2.0.4-1&stamp=1442020102
while the test suite goes through on other, similar architectures, including mipsel, powerpc and powerpc64, so there is no obvious pattern here.
The build is killed with a timeout after 150 minutes – is there anything in the testsuite that can deadlock on a non-threaded runtime? (Hoping this is not just haskell/cabal#2398 again, but then it would fail on other architectures with a non-threaded runtime, I’d say.)
I'm having trouble building diagrams
packages from Hackage at the moment since the version of active
on Hackage requires vector-space == 0.8
, but the latest version is 0.9
. The active-0.1
branch has this fixed—can you release it to Hackage?
Current version of active
does not build with ghc-9.8
.
I think all that is needed is a Hackage metadata edit.
Readding diagrams to stackage currently fails on this: commercialhaskell/stackage#3642
See discussion at #45 .
Please adjust active testsuite to build with semigroups 0.13
I have successfully compiled and run the test suite using:
ghc-8.10.3
base-4.14.1.0
QuickCheck-2.14.2
If you can make this change and release a new revision on hackage, it will allow us to better package this in gentoo.
In the stackage nightly build:
Preprocessing library active-0.2.0.12...
[1 of 1] Compiling Data.Active ( src/Data/Active.hs, dist/build/Data/Active.o )
src/Data/Active.hs:332:1: error:
Duplicate instance declarations:
instance Wrapped (MaybeApply f_auSr a_auSs)
-- Defined at src/Data/Active.hs:332:1
instance Wrapped (MaybeApply f a)
-- Defined in ‘Control.Lens.Wrapped’
src/Data/Active.hs:332:1: error:
Duplicate instance declarations:
instance MaybeApply f_auSW a_auSX ~ t_auSY =>
Rewrapped (MaybeApply f_auSZ a_auT0) t_auSY
-- Defined at src/Data/Active.hs:332:1
instance t ~ MaybeApply f' a' => Rewrapped (MaybeApply f a) t
-- Defined in ‘Control.Lens.Wrapped’
Test suite active-doctests: RUNNING...
Active.hs:1151: failure in expression `samples 1 (cut 4 (interval 0 2 ->> always 3))'
expected: [0 % 1,1 % 1,3 % 1,3 % 1,3 % 1]
but got: [0 % 1,1 % 1,2 % 1,3 % 1,3 % 1,3 % 1]
Active.hs:1169: failure in expression `samples 1 (cut 4 (interval 0 2 >>- always 3))'
expected: [0 % 1,1 % 1,2 % 1,3 % 1,3 % 1]
but got: [0 % 1,1 % 1,2 % 1,3 % 1,3 % 1,3 % 1]
Active.hs:1243: failure in expression `map (numerator . getSum) (samples 1 a1)'
expected: [0,1,2,3,1,2,3]
but got: [0,1,2,3,3,4,5,6]
Examples: 49 Tried: 48 Errors: 0 Failures: 3
Test suite active-doctests: FAIL
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.