Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
1f25ab3c
Commit
1f25ab3c
authored
Jun 27, 2014
by
Herbert Valerio Riedel
🕺
Browse files
Add new `BinaryLiterals` extension
See also
ghc/ghc@1c0b5fdc
for more details
parent
3033c66d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/Language/Haskell/Extension.hs
View file @
1f25ab3c
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment