sparse 0.7 → 0.7.0.1
raw patch · 6 files changed
+18/−16 lines, 6 files
Files
- .travis.yml +4/−1
- CHANGELOG.markdown +4/−0
- sparse.cabal +3/−11
- src/Sparse/Matrix.hs +3/−0
- src/Sparse/Matrix/Internal/Heap.hs +3/−3
- src/Sparse/Matrix/Internal/Key.hs +1/−1
.travis.yml view
@@ -1,15 +1,18 @@ language: haskell before_install:+ - sudo apt-get update -qq+ - sudo apt-get install -qq haskell-platform-doc # Uncomment whenever hackage is down. # - mkdir -p ~/.cabal && cp travis/config ~/.cabal/config && cabal update - cabal update # Try installing some of the build-deps with apt-get for speed.- - travis/cabal-apt-install $mode --force-reinstalls+ - travis/cabal-apt-install $mode --force-reinstalls --enable-documentation install: - cabal configure -flib-Werror $mode - cabal build+ - cabal install --enable-documentation script: - $script
CHANGELOG.markdown view
@@ -1,3 +1,7 @@+0.7.0.1+-------+* Consolidated the tutorial under on "slug" on the FP Complete site, this broke all of the URLs in the 0.7 documentation.+ 0.7 --- * Switched to using an internal vector type that unboxes as much as it can. This lets type inference work much better when playing around at the ghci REPL.
sparse.cabal view
@@ -1,6 +1,6 @@ name: sparse category: Data, Vector-version: 0.7+version: 0.7.0.1 license: BSD3 cabal-version: >= 1.8 license-file: LICENSE@@ -24,17 +24,9 @@ description: A playground of sparse linear algebra primitives using Morton ordering .- The design of this library is describe in the following articles on FP Complete's School of Haskell.- .- 1. <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication-part-1>- .- 2. <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication-part-2>- .- 3. <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication-part-3>- .- 4. <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication-part-4>+ The design of this library is described in the series \"Revisiting Matrix Multiplication\" on FP Complete's School of Haskell. .- 5. <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication-part-5>+ <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication/> source-repository head type: git
src/Sparse/Matrix.hs view
@@ -23,6 +23,9 @@ -- -- Sparse Matrices in Morton order --+-- The design of this library is described in the series \"Revisiting Matrix Multiplication\" on FP Complete's School of Haskell.+--+-- <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication/> ---------------------------------------------------------------------------- module Sparse.Matrix
src/Sparse/Matrix/Internal/Heap.hs view
@@ -11,9 +11,9 @@ -- Stability : experimental -- Portability : non-portable ----- Bootstrapped catenable non-empty pairing heaps as described in+-- Bootstrapped /catenable/ non-empty pairing heaps as described in ----- <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication-part-5>+-- <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication/part-5> ----------------------------------------------------------------------------- module Sparse.Matrix.Internal.Heap ( Heap(..)@@ -40,7 +40,7 @@ import Sparse.Matrix.Internal.Key import Prelude hiding (head, tail) --- | Bootstrapped _catenable_ non-empty pairing heaps+-- | Bootstrapped catenable non-empty pairing heaps data Heap a = Heap {-# UNPACK #-} !Key a [Heap a] [Heap a] [Heap a] deriving (Show,Read)
src/Sparse/Matrix/Internal/Key.hs view
@@ -26,7 +26,7 @@ -- -- How to perform the comparison without interleaving is described in ----- <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication-part-2>+-- <https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication/part-2> -- ---------------------------------------------------------------------------- module Sparse.Matrix.Internal.Key