Commit 1f25ab3c authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

Add new `BinaryLiterals` extension

See also ghc/ghc@1c0b5fdc for more details
parent 3033c66d
......@@ -655,6 +655,11 @@ data KnownExtension =
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#negative-literals>
| NegativeLiterals
-- | Allows the use of binary integer literal syntax (e.g. @0b11001001@ to denote @201@).
--
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#binary-literals>
| BinaryLiterals
-- | Allows the use of floating literal syntax for all instances of 'Num', including 'Int' and 'Integer'.
--
-- * <http://www.haskell.org/ghc/docs/latest/html/users_guide/syntax-extns.html#num-decimals>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment