| Copyright | (c) Hans Hoglund 2012-2014 |
|---|---|
| License | BSD-style |
| Maintainer | hans@hanshoglund.se |
| Stability | experimental |
| Portability | non-portable (TF,GNTD) |
| Safe Haskell | None |
| Language | Haskell2010 |
Music.Time.Placed
Contents
Description
Placed type
Placed represents a value with an offset in time.
A placed value has a known position, but no duration.
Placing a value inside Placed does not make it invariant under stretch, as the
offset of a placed value may be stretched with respect to the origin. However, in
contrast to a note the duration is not stretched.
Instances
Construction
placee :: (Transformable a, Transformable b) => Lens (Placed a) (Placed b) a b Source