sharkdp / numbat

A statically typed programming language for scientific computations with first class support for physical dimensions and units
https://numbat.dev
Apache License 2.0
1.26k stars 53 forks source link

Allow closing parens (and trailing comma?) in function calls to be on the next line #507

Closed sharkdp closed 3 months ago

sharkdp commented 3 months ago

This should be allowed (and probably easy to fix):

atan2(
  2 m,
  5 m
)

While we're at it, we might also want to allow trailing commas, like many other programming languages do?

atan2(
  2 m,
  5 m,
)