(for/set ([x (in-range 0 10)])
(displayln x)
(* x x))
into this:
(for/set ([x (in-range 0 10)]) (displayln x) (* x x))
However, it only does this for for/set for loops. Other for loops don't get their body forms squashed onto the same line. for/set should have the same behavior as the other loops.
fmt
changes this code:into this:
However, it only does this for
for/set
for loops. Other for loops don't get their body forms squashed onto the same line.for/set
should have the same behavior as the other loops.