j 0.3.0.0 → 0.3.0.1
raw patch · 4 files changed
+9/−5 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- j.cabal +1/−1
- src/Language/J.hs +1/−1
- test/Spec.hs +3/−3
CHANGELOG.md view
@@ -1,5 +1,9 @@ # j +## 0.3.0.1++ * Change to new profile path on OS X+ ## 0.3.0.0 * `libMac` works with new path for J 9.02
j.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: j-version: 0.3.0.0+version: 0.3.0.1 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2020-2021 Vanessa McHale
src/Language/J.hs view
@@ -193,7 +193,7 @@ macProfile :: JVersion -> Profile macProfile v =- let binPathMac = "/Applications/j64-" <> squashVersionBS v <> "/bin"+ let binPathMac = "/Applications/j" <> squashVersionBS v <> "/bin" in Profile (binPathMac <> "/profile.ijs") binPathMac (binPathMac <> "/libj.dylib") -- | @since 0.1.2.0
test/Spec.hs view
@@ -18,7 +18,7 @@ jenv <- jinit libLinux #else #ifdef darwin_HOST_OS- jenv <- jinit (libMac [9,0,2])+ jenv <- jinit (libMac [9,0,3]) #else #ifdef mingw32_HOST_OS jenv <- jinit (libWindows [9,0,2])@@ -35,7 +35,7 @@ , testCase "Sends a complex array to J" (jSetC jenv) , testCase "Uses J to perform a complex calculation" (regress jenv) , testCase "Writes strings to J values" (stringRoundtrip jenv)- -- , testCase "Uses J for something Haskell would have a hard time with" (fill jenv)+ , testCase "Uses J for something Haskell would have a hard time with" (fill jenv) , testCase "Loads a library" (loadNoFail jenv) , testCase "Sends an integer array" (printRes jenv) ]@@ -46,7 +46,7 @@ jLoad jenv (linuxProfile "9.02") #else #ifdef darwin_HOST_OS- jLoad jenv (macProfile [8,0,7])+ jLoad jenv (macProfile [9,0,3]) #else #ifdef mingw32_HOST_OS jLoad jenv (windowsProfile [9,0,2])