packages feed

force-layout 0.4.0.3 → 0.4.0.4

raw patch · 2 files changed

+8/−3 lines, 2 filesdep ~basedep ~lensPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, lens

API changes (from Hackage documentation)

- Physics.ForceLayout: _damping :: ForceLayoutOpts n -> n
- Physics.ForceLayout: _energyLimit :: ForceLayoutOpts n -> Maybe n
- Physics.ForceLayout: _force :: Particle v n -> v n
- Physics.ForceLayout: _forces :: Ensemble v n -> [([Edge], Point v n -> Point v n -> v n)]
- Physics.ForceLayout: _particles :: Ensemble v n -> Map PID (Particle v n)
- Physics.ForceLayout: _pos :: Particle v n -> Point v n
- Physics.ForceLayout: _stepLimit :: ForceLayoutOpts n -> Maybe Int
- Physics.ForceLayout: _vel :: Particle v n -> v n
- Physics.ForceLayout: instance Eq (v n) => Eq (Particle v n)
- Physics.ForceLayout: instance Fractional n => Default (ForceLayoutOpts n)
+ Physics.ForceLayout: [_damping] :: ForceLayoutOpts n -> n
+ Physics.ForceLayout: [_energyLimit] :: ForceLayoutOpts n -> Maybe n
+ Physics.ForceLayout: [_force] :: Particle v n -> v n
+ Physics.ForceLayout: [_forces] :: Ensemble v n -> [([Edge], Point v n -> Point v n -> v n)]
+ Physics.ForceLayout: [_particles] :: Ensemble v n -> Map PID (Particle v n)
+ Physics.ForceLayout: [_pos] :: Particle v n -> Point v n
+ Physics.ForceLayout: [_stepLimit] :: ForceLayoutOpts n -> Maybe Int
+ Physics.ForceLayout: [_vel] :: Particle v n -> v n
+ Physics.ForceLayout: instance GHC.Classes.Eq (v n) => GHC.Classes.Eq (Physics.ForceLayout.Particle v n)
+ Physics.ForceLayout: instance GHC.Real.Fractional n => Data.Default.Class.Default (Physics.ForceLayout.ForceLayoutOpts n)
- Physics.ForceLayout: damping :: Lens' (ForceLayoutOpts n_abZ7) n_abZ7
+ Physics.ForceLayout: damping :: forall n_aklI. Lens' (ForceLayoutOpts n_aklI) n_aklI
- Physics.ForceLayout: energyLimit :: Lens' (ForceLayoutOpts n_abZ7) (Maybe n_abZ7)
+ Physics.ForceLayout: energyLimit :: forall n_aklI. Lens' (ForceLayoutOpts n_aklI) (Maybe n_aklI)
- Physics.ForceLayout: force :: Lens' (Particle v_a9Le n_a9Lf) (v_a9Le n_a9Lf)
+ Physics.ForceLayout: force :: forall v_aiuX n_aiuY. Lens' (Particle v_aiuX n_aiuY) (v_aiuX n_aiuY)
- Physics.ForceLayout: forces :: Lens' (Ensemble v_abTJ n_abTK) [([Edge], Point v_abTJ n_abTK -> Point v_abTJ n_abTK -> v_abTJ n_abTK)]
+ Physics.ForceLayout: forces :: forall v_akgf n_akgg. Lens' (Ensemble v_akgf n_akgg) [([Edge], Point v_akgf n_akgg -> Point v_akgf n_akgg -> v_akgf n_akgg)]
- Physics.ForceLayout: particles :: Lens' (Ensemble v_abTJ n_abTK) (Map PID (Particle v_abTJ n_abTK))
+ Physics.ForceLayout: particles :: forall v_akgf n_akgg. Lens' (Ensemble v_akgf n_akgg) (Map PID (Particle v_akgf n_akgg))
- Physics.ForceLayout: pos :: Lens' (Particle v_a9Le n_a9Lf) (Point v_a9Le n_a9Lf)
+ Physics.ForceLayout: pos :: forall v_aiuX n_aiuY. Lens' (Particle v_aiuX n_aiuY) (Point v_aiuX n_aiuY)
- Physics.ForceLayout: stepLimit :: Lens' (ForceLayoutOpts n_abZ7) (Maybe Int)
+ Physics.ForceLayout: stepLimit :: forall n_aklI. Lens' (ForceLayoutOpts n_aklI) (Maybe Int)
- Physics.ForceLayout: vel :: Lens' (Particle v_a9Le n_a9Lf) (v_a9Le n_a9Lf)
+ Physics.ForceLayout: vel :: forall v_aiuX n_aiuY. Lens' (Particle v_aiuX n_aiuY) (v_aiuX n_aiuY)

Files

CHANGELOG.md view
@@ -1,3 +1,8 @@+## [v0.4.0.4](https://github.com/diagrams/force-layout/tree/v0.4.0.4) (2016-05-01)++- allow `lens-4.14`+- allow `base-4.9` for `GHC-8.0`+ ## [v0.4.0.3](https://github.com/diagrams/force-layout/tree/v0.4.0.3) (2015-09-17)    - allow `lens-4.13`
force-layout.cabal view
@@ -1,5 +1,5 @@ name:                force-layout-version:             0.4.0.3+version:             0.4.0.4 synopsis:            Simple force-directed layout description:         Simulation engine for doing simple force-based layout,                      /e.g./ for trees or graphs.  See the diagrams-contrib package@@ -21,9 +21,9 @@  library   exposed-modules:     Physics.ForceLayout-  build-depends:       base >= 4.2 && < 4.9,+  build-depends:       base >= 4.2 && < 4.10,                        linear >= 1.10 && < 1.21,-                       lens >= 3.0 && < 4.14,+                       lens >= 3.0 && < 4.15,                        containers >=0.4 && < 0.6,                        data-default-class >= 0.0.1 && < 0.1   hs-source-dirs:      src