-
Notifications
You must be signed in to change notification settings - Fork 19
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)