Comments (3)
Hi, thanks for the report. However, I would expect this to evaluate to 2.0
, as you observe. Can you explain why you would expect it to be 1.0
?
Note that a |>> b
shifts b
so that its start time coincides with a
's end time. So in this case it shifts the second interval 1 2
one time step later. Perhaps you were expecting it to be shifted so that b
's time 0 coincides with a
's end time? That might be a useful mode of composition, but it's not how (|>>)
works.
from active.
Interesting. I read "after" as "starting after" and not "starting at the same time as the end". It just seems weird that the first value dissapears.
from active.
"After" does mean "starting after" -- that is, starting immediately after. The first value only disappears at the exact point of overlap, so e.g. we still have runActive (interval 1 2 |>> interval 1 2) 2.0001 == 1.0001
.
from active.
Related Issues (16)
- clampBefore and clampAfter are undefined
- Hackage version has out-of-date version bounds on vector-space HOT 2
- Support vector-space 0.9
- Test suite weirdness on arm64 and s390x HOT 2
- Image links in haddock are broken HOT 4
- Support semigroupoids-5.1 HOT 1
- build fails with lens-4.15.2 HOT 3
- base-bounds of testsuite too restrictive HOT 1
- Doctests failing HOT 3
- Please bump quickcheck upperbound HOT 1
- I made a revision of 0.2.0.15 to allow GHC 9.2 HOT 1
- Test failure with QuickCheck-2.14.3 HOT 4
- Needs a Hackage release to support ghc-9.8 HOT 1
- Remove custom Setup and template-haskell from 0.3 version
- upper bound on semigroups in active testsuite HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from active.