summaryrefslogtreecommitdiff
path: root/compiler/Language
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2021-04-06 15:51:38 +0300
committerVladislav Zavialov <vlad.z.4096@gmail.com>2021-05-22 22:17:04 +0300
commit385c8d8809b26b2d86883041d42fd1a33a80e990 (patch)
treedb9c01ec2678aa78ce7c230668c5f83a7f49c34d /compiler/Language
parent503388c53b0860e5a1fca11113ac7fc3e1e44492 (diff)
downloadhaskell-wip/strict-maybe.tar.gz
Introduce Strict.Maybe, Strict.Pair (#19156)wip/strict-maybe
This patch fixes a space leak related to the use of Maybe in RealSrcSpan by introducing a strict variant of Maybe. In addition to that, it also introduces a strict pair and uses the newly introduced strict data types in a few other places (e.g. the lexer/parser state) to reduce allocations. Includes a regression test.
Diffstat (limited to 'compiler/Language')
0 files changed, 0 insertions, 0 deletions