Octree 0.5.3 → 0.5.4.1
raw patch · 3 files changed
+10/−5 lines, 3 filesdep ~basePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: base
API changes (from Hackage documentation)
- Data.Octree: Vector3 :: !Scalar -> !Scalar -> !Scalar -> Vector3
+ Data.Octree: Vector3 :: UnpkScalar -> UnpkScalar -> UnpkScalar -> Vector3
- Data.Octree: v3x :: Vector3 -> !Scalar
+ Data.Octree: v3x :: Vector3 -> UnpkScalar
- Data.Octree: v3y :: Vector3 -> !Scalar
+ Data.Octree: v3y :: Vector3 -> UnpkScalar
- Data.Octree: v3z :: Vector3 -> !Scalar
+ Data.Octree: v3z :: Vector3 -> UnpkScalar
Files
- Data/Octree/Internal.hs +3/−1
- Octree.cabal +4/−4
- changelog +3/−0
Data/Octree/Internal.hs view
@@ -286,7 +286,9 @@ depth :: Octree a -> Int depth (Leaf _) = 0-depth node = foldr max 0 . map (+1) . map depth . subnodes $ node+depth node = foldr max 0+ . map ((+1) . depth)+ . subnodes $ node size :: Octree a -> Int size = length . toList
Octree.cabal view
@@ -1,5 +1,5 @@ name: Octree-version: 0.5.3+version: 0.5.4.1 stability: beta homepage: https://github.com/mgajda/octree package-url: http://hackage.haskell.org/package/octree@@ -25,7 +25,7 @@ location: git@github.com:mgajda/octree.git Library- build-depends: base>=4.0 && < 4.8, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0+ build-depends: base>=4.0 && < 4.9, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0 exposed-modules: Data.Octree other-modules: Data.Octree.Internal exposed: True@@ -33,13 +33,13 @@ Test-suite test_Octree Type: exitcode-stdio-1.0- Build-depends: base>=4.0 && < 4.7, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0+ Build-depends: base>=4.0 && < 4.9, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0 Main-is: tests/test_Octree.hs Test-suite readme type: exitcode-stdio-1.0 -- We have a symlink: README.lhs -> README.md main-is: README.lhs- Build-depends: base>=4.0 && < 4.7, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0, markdown-unlit+ Build-depends: base>=4.0 && < 4.9, AC-Vector >= 2.3.0, QuickCheck >= 2.4.0, markdown-unlit ghc-options: -pgmL markdown-unlit
changelog view
@@ -1,4 +1,7 @@ -*-Changelog-*- +0.5.4.1 Apr 2014+ * Bump up upper bounds for GHC 7.10+ 0.5.3 Apr 2014 * Switched to automatically derived Functor, Foldable, Traversable