Futhark.Server.Values
Description
Convenience functions builds on top of Futhark.Data and Futhark.Server for passing non-opaque values in and out of a server instance.
getValue :: Server -> VarName -> IO (Either Text Value) Source #
Retrieve a non-opaque value from the server.
putValue :: Server -> VarName -> Value -> IO (Maybe CmdFailure) Source #
Store a non-opaque value in the server. A variable with the given name must not already exist (use cmdFree to free it first if necessary).
cmdFree