How to enable BinaryLiterals?

There is a BinaryLiterals extension specified in the Language.Haskell.Extensions document. The idea is that you can say 0b11 == 3 .

 > :set -XBinaryLiterals Some flags have not been recognized: -XBinaryLiterals 
+6
source share
1 answer

According to this https://ghc.haskell.org/trac/ghc/ticket/9224 it will be released in version 7.10.1. It seems this has not yet been released.

+6
source

Source: https://habr.com/ru/post/977782/


All Articles