futhark-manifest 1.7.0.0 → 1.8.0.0
raw patch · 3 files changed
+9/−5 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
- Futhark.Manifest: [entryPointOutputs] :: EntryPoint -> [Output]
+ Futhark.Manifest: [entryPointOutput] :: EntryPoint -> Output
- Futhark.Manifest: EntryPoint :: CFuncName -> [Text] -> [Output] -> [Input] -> [Text] -> EntryPoint
+ Futhark.Manifest: EntryPoint :: CFuncName -> [Text] -> Output -> [Input] -> [Text] -> EntryPoint
Files
- CHANGELOG.md +4/−0
- futhark-manifest.cabal +1/−1
- src/Futhark/Manifest.hs +4/−4
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for futhark-manifest +## 1.8.0.0++Replaced `entryPointOutputs` with `entryPointOutput`.+ ## 1.7.0.0 * Added `entryPointAttrs`.
futhark-manifest.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: futhark-manifest-version: 1.7.0.0+version: 1.8.0.0 synopsis: Definition and serialisation instances for Futhark manifests.
src/Futhark/Manifest.hs view
@@ -86,7 +86,7 @@ data EntryPoint = EntryPoint { entryPointCFun :: CFuncName, entryPointTuningParams :: [T.Text],- entryPointOutputs :: [Output],+ entryPointOutput :: Output, entryPointInputs :: [Input], entryPointAttrs :: [T.Text] }@@ -323,11 +323,11 @@ ) ] where- onEntryPoint (EntryPoint cfun tuning_params outputs inputs attrs) =+ onEntryPoint (EntryPoint cfun tuning_params output inputs attrs) = object [ ("cfun", toJSON cfun), ("tuning_params", toJSON tuning_params),- ("outputs", toJSON $ map onOutput outputs),+ ("output", toJSON $ onOutput output), ("inputs", toJSON $ map onInput inputs), ("attributes", toJSON attrs) ]@@ -435,7 +435,7 @@ EntryPoint <$> v .: "cfun" <*> v .: "tuning_params"- <*> v .: "outputs"+ <*> v .: "output" <*> v .: "inputs" <*> v .: "attributes"