[GHC] #14473: Implement Underscores in Numeric Literals Proposal (NumericUnderscores extension)

GHC ghc-devs at haskell.org
Sat Nov 18 04:45:16 UTC 2017


#14473: Implement Underscores in Numeric Literals Proposal (NumericUnderscores
extension)
-------------------------------------+-------------------------------------
        Reporter:  takenobu          |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.2.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #13126 #9224      |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by takenobu):

 I am planning to submit a patch.
 This is the patch of the current version:\\
 https://github.com/takenobu-hs/ghc/compare/master...takenobu-hs:wip
 /numeric-underscores

 About it, Iavor gave me good advice:\\
 https://github.com/ghc-proposals/ghc-
 proposals/pull/76#issuecomment-344347463

 That is, I unify the definition of Lexer and add a validation function.
 After investigating how to implement the function for validation, I will
 submit the patch.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14473#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list