logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

futhark-fmt - format Futhark programs

Description

       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 futharkfmt to break these, insert a linebreak at an arbitrary location.

Name

       futhark-fmt - format Futhark programs

Options

--check
              Check  if the given files are correctly formatted, and if not, terminate with an error message and
              a nonzero exit code.

       -h     Print help text to standard output and exit.

       -V     Print version information on standard output and exit.

See Also

futhark-doc

Synopsis

       futhark fmt [options…] [FILES]

See Also