-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.21Implemented in base-4.21 (GHC 9.12)Implemented in base-4.21 (GHC 9.12)
Description
The BinaryLiterals extension, included in GHC2021, enables binary integer notation (a binary sequence prefixed by 0b or 0B), but the current implementation of read function rejects such input. I propose modifying the read function, along with readEither and readMaybe, to accept binary integer notation in order to maintain consistency with the GHC2021 syntax.
related issue : https://gitlab.haskell.org/ghc/ghc/-/issues/23518
merge request : https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10680
konsumlamm and Ericson2314Abastronattybear
Metadata
Metadata
Assignees
Labels
approvedApproved by CLC voteApproved by CLC votebase-4.21Implemented in base-4.21 (GHC 9.12)Implemented in base-4.21 (GHC 9.12)