packages feed

j 0.2.1.0 → 0.2.1.1

raw patch · 4 files changed

+13/−9 lines, 4 filesdep ~basePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: base

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # j +## 0.2.1.1++  * Test suite works with J 9.02+ ## 0.2.1.0    * Add support for J's complex type
j.cabal view
@@ -1,6 +1,6 @@ cabal-version:   1.18 name:            j-version:         0.2.1.0+version:         0.2.1.1 license:         BSD3 license-file:    LICENSE copyright:       Copyright: (c) 2020 Vanessa McHale@@ -25,7 +25,7 @@     other-extensions: FlexibleContexts OverloadedStrings     ghc-options:      -Wall     build-depends:-        base >=4.7 && <5,+        base >=4.8 && <5,         bytestring >=0.10,         repa >=3.2.5.0 @@ -60,7 +60,7 @@     other-extensions: CPP OverloadedStrings     ghc-options:      "-with-rtsopts -K1K" -Wall     build-depends:-        base -any,+        base >=4.9,         j -any,         tasty -any,         tasty-hunit -any,
src/Language/J.hs view
@@ -60,7 +60,7 @@ --  @ --  do --      jenv <- 'jinit' 'libLinux'---      'jLoad' jenv ('linuxProfile' "9.01")+--      'jLoad' jenv ('linuxProfile' "9.02") --      'bsDispatch' 'jenv' "load'tables/csv'" --  @ --@@ -178,7 +178,7 @@ dllLinux v = "libj.so." <> v  -- | @since 0.1.2.0-linuxProfile :: BS.ByteString -- ^ J version, e.g. @"9.01"@+linuxProfile :: BS.ByteString -- ^ J version, e.g. @"9.02"@              -> Profile linuxProfile ver = Profile (profLinux ver) binpathLinux (dllLinux ver) 
test/Spec.hs view
@@ -21,7 +21,7 @@     jenv <- jinit (libMac [8,0,7]) #else #ifdef mingw32_HOST_OS-    jenv <- jinit (libWindows [9,0,1])+    jenv <- jinit (libWindows [9,0,2]) #endif #endif #endif@@ -43,13 +43,13 @@ loadNoFail :: JEnv -> Assertion loadNoFail jenv = do #ifdef linux_HOST_OS-    jLoad jenv (linuxProfile "9.01")+    jLoad jenv (linuxProfile "9.02") #else #ifdef darwin_HOST_OS     jLoad jenv (macProfile [8,0,7]) #else #ifdef mingw32_HOST_OS-    jLoad jenv (windowsProfile [9,0,1])+    jLoad jenv (windowsProfile [9,0,2]) #endif #endif #endif@@ -81,7 +81,7 @@     setJData jenv "ys" (JDoubleArr $ R.copyS $ R.map (realToFrac :: Double -> CDouble) hsArr1)     bsDispatch jenv "reg_result =: ys %. xs ^/ i.2"     res <- getJData jenv "reg_result"-    doubleVect res @?= [5.995204332975845e-15,1.9999999999999971]+    doubleVect res @?= [7.105427357601002e-15,1.9999999999999967]  stringRoundtrip :: JEnv -> Assertion stringRoundtrip jenv = do