packages feed

blas-ffi 0.0.1.1 → 0.0.2

raw patch · 2 files changed

+29/−2 lines, 2 filesdep +blas-ffidep +storable-complexdep ~basenew-component:exe:blas-demoPVP ok

version bump matches the API change (PVP)

Dependencies added: blas-ffi, storable-complex

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

blas-ffi.cabal view
@@ -1,5 +1,5 @@ Name:             blas-ffi-Version:          0.0.1.1+Version:          0.0.2 License:          BSD3 License-File:     LICENSE Author:           Henning Thielemann <haskell@henning-thielemann.de>@@ -21,8 +21,12 @@ Cabal-Version:    1.14 Build-Type:       Simple +Flag buildExamples+  description: Build example executables+  default:     False+ Source-Repository this-  Tag:         0.0.1.1+  Tag:         0.0.2   Type:        darcs   Location:    http://hub.darcs.net/thielema/blas-ffi/ @@ -48,3 +52,16 @@     Numeric.BLAS.FFI.Complex     Numeric.BLAS.FFI.Generic     Numeric.BLAS.FFI.Miscellaneous++Executable blas-demo+  If flag(buildExamples)+    Build-Depends:+      storable-complex >=0.2.2 && <0.3,+      blas-ffi,+      base+  Else+    Buildable: False++  Main-Is:          demo/Main.hs+  GHC-Options:      -Wall+  Default-Language: Haskell98
+ demo/Main.hs view
@@ -0,0 +1,10 @@+module Main where++import qualified Numeric.BLAS.FFI.ComplexFloat as BlasComplexFloat+import qualified Foreign+import Foreign.Storable.Complex ()+import Data.Complex (Complex((:+)))+++main :: IO ()+main = print =<< Foreign.with (2:+3) BlasComplexFloat.cabs1