Closed michalt closed 3 years ago
With LANGUAGE NumericUnderscores it's now possible to use _ in numbers, e.g., 10_000, see https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0009-numeric-underscores.rst
LANGUAGE NumericUnderscores
_
10_000
This adds a very simple highlighting support for this, but it's not as strict as the spec and does allow some invalid cases to be highlighted -- let me know if you'd prefer this to be stricter.
With
LANGUAGE NumericUnderscores
it's now possible to use_
in numbers, e.g.,10_000
, see https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0009-numeric-underscores.rstThis adds a very simple highlighting support for this, but it's not as strict as the spec and does allow some invalid cases to be highlighted -- let me know if you'd prefer this to be stricter.