Futhark.Fmt.Printer
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.