packages feed

futhark-server 1.4.1.0 → 1.4.1.1

raw patch · 3 files changed

+6/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for futhark-server +## 1.4.1.1 -- 2026-08-20++* Fixed bug in `cmdShape` which would read only first line from the server.+ ## 1.4.1.0 -- 2026-05-14  * Added `cmdZip` and `cmdUnzip`.
futhark-server.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               futhark-server-version:            1.4.1.0+version:            1.4.1.1 synopsis: Client implementation of the Futhark server protocol.  description: Provides an easy way to interact with a running Futhark
src/Futhark/Server.hs view
@@ -512,7 +512,7 @@  -- | @shape v@ cmdShape :: Server -> VarName -> IO (Either CmdFailure [Int])-cmdShape s v = fmap (map (read . T.unpack) . T.words) <$> sendCommandSL s "shape" [v]+cmdShape s v = fmap (map (read . T.unpack) . foldMap T.words) <$> sendCommand s "shape" [v]  -- | @set v0 v1 i0 ... iN-1@ cmdSet :: Server -> VarName -> VarName -> [Int] -> IO (Maybe CmdFailure)