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

Futhark.Fmt.Printer

Synopsis

Documentation

fmtToText :: String -> Text -> Either SyntaxError Text Source #

Given a filename and a futhark program, formats the program as text.

fmtToDoc :: String -> Text -> Either SyntaxError (Doc AnsiStyle) Source #

Given a filename and a futhark program, formats the program.