Skip to content
Snippets Groups Projects
Commit 931c8d82 authored by Ben Orchard's avatar Ben Orchard Committed by Marge Bot
Browse files

Add sized primitive literal syntax

Adds a new LANGUAGE pragma ExtendedLiterals, which enables defining
unboxed numeric literals such as `0xFF#Word8 :: Word8#`.

Implements GHC proposal 0451:
https://github.com/ghc-proposals/ghc-proposals/blob/b384a538b34f79d18a0201455b7b3c473bc8c936/proposals/0451-sized-literals.rst



Fixes #21422.

Bumps haddock submodule.

Co-authored-by: default avatarKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>
parent 00a8a5ff
No related branches found
No related tags found
No related merge requests found
Showing
with 722 additions and 75 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment