futhark-0.19.4: An optimising compiler for a functional, array-oriented language.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Futhark.Server

Description

Haskell code for interacting with a Futhark server program (a program compiled with --server).

Synopsis

Documentation

data Server Source #

A handle to a running server.

withServer :: FilePath -> [FilePath] -> (Server -> IO a) -> IO a Source #

Start a server, execute an action, then shut down the server.

data CmdFailure Source #

The command failed, and this is why. The first Text is any output before the failure indincator, and the second Text is the output after the indicator.

Constructors

CmdFailure 

Fields

type VarName = Text Source #

The name of a server-side variable.

type TypeName = Text Source #

The name of a server-side type.

type EntryName = Text Source #

The name of an entry point.