Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
futhark literate
Also contains various utility definitions used by Futhark.CLI.Script.
Synopsis
- main :: String -> [String] -> IO ()
- data Options = Options {}
- initialOptions :: Options
- scriptCommandLineOptions :: [FunOptDescr Options]
- prepareServer :: FilePath -> Options -> (ScriptServer -> IO a) -> IO a
Documentation
Some of these only make sense for futhark literate
, but enough
are also sensible for futhark script
that we can share them.
prepareServer :: FilePath -> Options -> (ScriptServer -> IO a) -> IO a Source #