| FUTHARK-FMT(1) | Futhark | FUTHARK-FMT(1) |
futhark-fmt - format Futhark programs
futhark fmt [options...] [FILES]
Reformat the given Futhark programs. If no files are provided, read Futhark program on stdin and produce formatted output on stdout. If stdout is a terminal, the output will be syntax highlighted.
In contrast to many other automatic formatters, the formatting is somewhat sensitive to the formatting of the input program. In particular, single-line expressions will usually be kept on a single line, even if they are very long. To force futhark fmt to break these, insert a linebreak at an arbitrary location.
futhark-doc
2013-2020, DIKU, University of Copenhagen
| March 1, 2025 | 0.25.27 |