build checks.x86_64-linux.mutation-safe-coloured-text
1591.26 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleForeground = Just (Colour8Bit n)}) rest
1591.26 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1591.26 s
[safe-coloured-text-gen] - _ -> goSGR s ps
1591.26 s
[safe-coloured-text-gen] -- Default foreground
1591.26 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.26 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1591.26 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:224:41-43
1591.26 s
[safe-coloured-text-gen] @@ -221,7 +221,7 @@
1591.26 s
[safe-coloured-text-gen] | p == 29 = goSGR (s {chunkStyleStrikethrough = Just False}) ps
1591.26 s
[safe-coloured-text-gen] -- Standard foreground colours (30-37)
1591.26 s
[safe-coloured-text-gen] | p >= 30 && p <= 37 =
1591.26 s
[safe-coloured-text-gen] - case terminalColourFromIndex (p - 30) of
1591.26 s
[safe-coloured-text-gen] + case terminalColourFromIndex (p - 0) of
1591.27 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1591.27 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1591.27 s
[safe-coloured-text-gen] -- Extended foreground colour
1591.27 s
[safe-coloured-text-gen] Testing mutation BoolLit at src/Text/Colour/Chunk/Parsing.hs:221:56-61
1591.27 s
[safe-coloured-text-gen] @@ -218,7 +218,7 @@
1591.27 s
[safe-coloured-text-gen] | p == 25 = goSGR (s {chunkStyleBlinking = Just NoBlinking}) ps
1591.27 s
[safe-coloured-text-gen] | p == 27 = goSGR (s {chunkStyleSwapForegroundBackground = Just False}) ps
1591.27 s
[safe-coloured-text-gen] | p == 28 = goSGR (s {chunkStyleConcealed = Just False}) ps
1591.27 s
[safe-coloured-text-gen] - | p == 29 = goSGR (s {chunkStyleStrikethrough = Just False}) ps
1591.27 s
[safe-coloured-text-gen] + | p == 29 = goSGR (s {chunkStyleStrikethrough = Just True}) ps
1591.27 s
[safe-coloured-text-gen] -- Standard foreground colours (30-37)
1591.27 s
[safe-coloured-text-gen] | p >= 30 && p <= 37 =
1591.27 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 30) of
1591.27 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:233:10-12
1591.27 s
[safe-coloured-text-gen] @@ -230,7 +230,7 @@
1591.27 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1591.27 s
[safe-coloured-text-gen] _ -> goSGR s ps
1591.27 s
[safe-coloured-text-gen] -- Default foreground
1591.27 s
[safe-coloured-text-gen] - | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.27 s
[safe-coloured-text-gen] + | p == 0 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.27 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1591.27 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1591.27 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1591.27 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:235:5-12
1591.27 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1591.27 s
[safe-coloured-text-gen] -- Default foreground
1591.27 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.27 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1591.27 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1591.27 s
[safe-coloured-text-gen] + | True && p <= 47 =
1591.27 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1591.27 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1591.28 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1591.28 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:235:10-12
1591.28 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1591.28 s
[safe-coloured-text-gen] -- Default foreground
1591.28 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.28 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1591.28 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1591.28 s
[safe-coloured-text-gen] + | p >= 1 && p <= 47 =
1591.28 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1591.28 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1591.28 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1591.28 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:235:5-12
1591.28 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1591.28 s
[safe-coloured-text-gen] -- Default foreground
1591.28 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.28 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1591.28 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1591.28 s
[safe-coloured-text-gen] + | not p >= 40 && p <= 47 =
1591.28 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1591.28 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1591.28 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1591.28 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:233:10-12
1591.28 s
[safe-coloured-text-gen] @@ -230,7 +230,7 @@
1591.28 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1591.28 s
[safe-coloured-text-gen] _ -> goSGR s ps
1591.28 s
[safe-coloured-text-gen] -- Default foreground
1591.28 s
[safe-coloured-text-gen] - | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.29 s
[safe-coloured-text-gen] + | p == 1 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.29 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1591.29 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1591.29 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1591.29 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:233:5-12
1591.29 s
[safe-coloured-text-gen] @@ -230,7 +230,7 @@
1591.29 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1591.29 s
[safe-coloured-text-gen] _ -> goSGR s ps
1591.29 s
[safe-coloured-text-gen] -- Default foreground
1591.29 s
[safe-coloured-text-gen] - | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.29 s
[safe-coloured-text-gen] + | True = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.29 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1591.29 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1591.29 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1591.29 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:233:5-12
1591.29 s
[safe-coloured-text-gen] @@ -230,7 +230,7 @@
1591.29 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1591.29 s
[safe-coloured-text-gen] _ -> goSGR s ps
1591.29 s
[safe-coloured-text-gen] -- Default foreground
1591.29 s
[safe-coloured-text-gen] - | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.29 s
[safe-coloured-text-gen] + | not p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1591.29 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1591.29 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1627.56 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1627.56 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:235:5-23
1627.59 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1627.59 s
[safe-coloured-text-gen] -- Default foreground
1627.59 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.59 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.59 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1627.59 s
[safe-coloured-text-gen] + | True =
1627.59 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1627.59 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.59 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.59 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:235:5-23
1627.59 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1627.59 s
[safe-coloured-text-gen] -- Default foreground
1627.59 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.59 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.59 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1627.59 s
[safe-coloured-text-gen] + | not p >= 40 && p <= 47 =
1627.59 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1627.59 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.59 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.59 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:236:41-43
1627.59 s
[safe-coloured-text-gen] @@ -233,7 +233,7 @@
1627.59 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.59 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.59 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1627.59 s
[safe-coloured-text-gen] - case terminalColourFromIndex (p - 40) of
1627.59 s
[safe-coloured-text-gen] + case terminalColourFromIndex (p - 0) of
1627.59 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.60 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.60 s
[safe-coloured-text-gen] -- Extended background colour
1627.60 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:236:41-43
1627.60 s
[safe-coloured-text-gen] @@ -233,7 +233,7 @@
1627.60 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.60 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.60 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1627.60 s
[safe-coloured-text-gen] - case terminalColourFromIndex (p - 40) of
1627.60 s
[safe-coloured-text-gen] + case terminalColourFromIndex (p - 1) of
1627.60 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.60 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.60 s
[safe-coloured-text-gen] -- Extended background colour
1627.60 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:236:7-30
1627.60 s
[safe-coloured-text-gen] @@ -233,9 +233,8 @@
1627.60 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.60 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.60 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1627.60 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1627.60 s
[safe-coloured-text-gen] - Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.60 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.60 s
[safe-coloured-text-gen] -- Extended background colour
1627.60 s
[safe-coloured-text-gen] | p == 48 = case ps of
1627.60 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.60 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:236:7-30
1627.60 s
[safe-coloured-text-gen] @@ -233,9 +233,8 @@
1627.60 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.60 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.60 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1627.60 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1627.60 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.60 s
[safe-coloured-text-gen] - Nothing -> goSGR s ps
1627.60 s
[safe-coloured-text-gen] -- Extended background colour
1627.60 s
[safe-coloured-text-gen] | p == 48 = case ps of
1627.60 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.60 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:240:10-12
1627.60 s
[safe-coloured-text-gen] @@ -237,7 +237,7 @@
1627.60 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.60 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.60 s
[safe-coloured-text-gen] -- Extended background colour
1627.60 s
[safe-coloured-text-gen] - | p == 48 = case ps of
1627.60 s
[safe-coloured-text-gen] + | p == 0 = case ps of
1627.60 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.60 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1627.60 s
[safe-coloured-text-gen] _ -> goSGR s ps
1627.60 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:240:10-12
1627.60 s
[safe-coloured-text-gen] @@ -237,7 +237,7 @@
1627.61 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.61 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.61 s
[safe-coloured-text-gen] -- Extended background colour
1627.61 s
[safe-coloured-text-gen] - | p == 48 = case ps of
1627.61 s
[safe-coloured-text-gen] + | p == 1 = case ps of
1627.61 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.61 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1627.61 s
[safe-coloured-text-gen] _ -> goSGR s ps
1627.61 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:240:5-12
1627.61 s
[safe-coloured-text-gen] @@ -237,7 +237,7 @@
1627.61 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.61 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.61 s
[safe-coloured-text-gen] -- Extended background colour
1627.61 s
[safe-coloured-text-gen] - | p == 48 = case ps of
1627.61 s
[safe-coloured-text-gen] + | True = case ps of
1627.61 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.61 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1627.61 s
[safe-coloured-text-gen] _ -> goSGR s ps
1627.61 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:240:5-12
1627.61 s
[safe-coloured-text-gen] @@ -237,7 +237,7 @@
1627.61 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.61 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.61 s
[safe-coloured-text-gen] -- Extended background colour
1627.61 s
[safe-coloured-text-gen] - | p == 48 = case ps of
1627.61 s
[safe-coloured-text-gen] + | not p == 48 = case ps of
1627.61 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.61 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1627.61 s
[safe-coloured-text-gen] _ -> goSGR s ps
1627.61 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:240:15-22
1627.61 s
[safe-coloured-text-gen] @@ -237,10 +237,9 @@
1627.61 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.61 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.61 s
[safe-coloured-text-gen] -- Extended background colour
1627.61 s
[safe-coloured-text-gen] | p == 48 = case ps of
1627.61 s
[safe-coloured-text-gen] - 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.61 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1627.61 s
[safe-coloured-text-gen] _ -> goSGR s ps
1627.61 s
[safe-coloured-text-gen] -- Default background
1627.61 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1627.61 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1627.61 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:240:15-22
1627.61 s
[safe-coloured-text-gen] @@ -237,10 +237,9 @@
1627.61 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.62 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.62 s
[safe-coloured-text-gen] -- Extended background colour
1627.62 s
[safe-coloured-text-gen] | p == 48 = case ps of
1627.62 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.62 s
[safe-coloured-text-gen] - 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1627.62 s
[safe-coloured-text-gen] _ -> goSGR s ps
1627.62 s
[safe-coloured-text-gen] -- Default background
1627.62 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1627.62 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1627.62 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:235:21-23
1627.62 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1627.62 s
[safe-coloured-text-gen] -- Default foreground
1627.62 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.62 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.62 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1627.62 s
[safe-coloured-text-gen] + | p >= 40 && p <= 0 =
1627.62 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1627.62 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.62 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.62 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:240:15-22
1627.62 s
[safe-coloured-text-gen] @@ -237,10 +237,9 @@
1627.62 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.62 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.62 s
[safe-coloured-text-gen] -- Extended background colour
1627.62 s
[safe-coloured-text-gen] | p == 48 = case ps of
1627.62 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1627.62 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1627.62 s
[safe-coloured-text-gen] - _ -> goSGR s ps
1627.62 s
[safe-coloured-text-gen] -- Default background
1627.62 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1627.62 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1627.62 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:235:10-12
1627.62 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1627.62 s
[safe-coloured-text-gen] -- Default foreground
1627.62 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.62 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.62 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1627.62 s
[safe-coloured-text-gen] + | p >= 0 && p <= 47 =
1627.62 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1627.62 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1627.62 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1627.62 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:235:21-23
1627.62 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1627.62 s
[safe-coloured-text-gen] -- Default foreground
1627.62 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1627.62 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1627.62 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1627.62 s
[safe-coloured-text-gen] + | p >= 40 && p <= 1 =
1627.62 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1676.26 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1676.29 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1676.29 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:245:10-12
1676.29 s
[safe-coloured-text-gen] @@ -242,7 +242,7 @@
1676.29 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1676.29 s
[safe-coloured-text-gen] _ -> goSGR s ps
1676.29 s
[safe-coloured-text-gen] -- Default background
1676.29 s
[safe-coloured-text-gen] - | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.29 s
[safe-coloured-text-gen] + | p == 1 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.29 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.29 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.29 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.30 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:245:5-12
1676.30 s
[safe-coloured-text-gen] @@ -242,7 +242,7 @@
1676.30 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1676.30 s
[safe-coloured-text-gen] _ -> goSGR s ps
1676.30 s
[safe-coloured-text-gen] -- Default background
1676.30 s
[safe-coloured-text-gen] - | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.30 s
[safe-coloured-text-gen] + | True = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.30 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.30 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.30 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.30 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:245:10-12
1676.30 s
[safe-coloured-text-gen] @@ -242,7 +242,7 @@
1676.30 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1676.30 s
[safe-coloured-text-gen] _ -> goSGR s ps
1676.30 s
[safe-coloured-text-gen] -- Default background
1676.30 s
[safe-coloured-text-gen] - | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.30 s
[safe-coloured-text-gen] + | p == 0 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.30 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.30 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.30 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.30 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:245:5-12
1676.30 s
[safe-coloured-text-gen] @@ -242,7 +242,7 @@
1676.30 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1676.30 s
[safe-coloured-text-gen] _ -> goSGR s ps
1676.30 s
[safe-coloured-text-gen] -- Default background
1676.30 s
[safe-coloured-text-gen] - | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.31 s
[safe-coloured-text-gen] + | not p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.31 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.31 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.31 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.31 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:246:10-12
1676.31 s
[safe-coloured-text-gen] @@ -243,7 +243,7 @@
1676.31 s
[safe-coloured-text-gen] _ -> goSGR s ps
1676.31 s
[safe-coloured-text-gen] -- Default background
1676.31 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.31 s
[safe-coloured-text-gen] - | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.31 s
[safe-coloured-text-gen] + | p == 1 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.31 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.31 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.31 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1676.31 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:247:10-12
1676.31 s
[safe-coloured-text-gen] @@ -244,7 +244,7 @@
1676.31 s
[safe-coloured-text-gen] -- Default background
1676.31 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.31 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.31 s
[safe-coloured-text-gen] - | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.31 s
[safe-coloured-text-gen] + | p == 0 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.31 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.31 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1676.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.31 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:246:5-12
1676.31 s
[safe-coloured-text-gen] @@ -243,7 +243,7 @@
1676.31 s
[safe-coloured-text-gen] _ -> goSGR s ps
1676.31 s
[safe-coloured-text-gen] -- Default background
1676.31 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.31 s
[safe-coloured-text-gen] - | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.31 s
[safe-coloured-text-gen] + | not p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.31 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.31 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.32 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1676.32 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:246:10-12
1676.32 s
[safe-coloured-text-gen] @@ -243,7 +243,7 @@
1676.32 s
[safe-coloured-text-gen] _ -> goSGR s ps
1676.32 s
[safe-coloured-text-gen] -- Default background
1676.32 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.32 s
[safe-coloured-text-gen] - | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.32 s
[safe-coloured-text-gen] + | p == 0 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.32 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.32 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.32 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1676.32 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:247:5-12
1676.32 s
[safe-coloured-text-gen] @@ -244,7 +244,7 @@
1676.32 s
[safe-coloured-text-gen] -- Default background
1676.32 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.32 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.32 s
[safe-coloured-text-gen] - | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.32 s
[safe-coloured-text-gen] + | not p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.32 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.32 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1676.32 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.32 s
[safe-coloured-text-gen] Testing mutation BoolLit at src/Text/Colour/Chunk/Parsing.hs:247:52-57
1676.32 s
[safe-coloured-text-gen] @@ -244,7 +244,7 @@
1676.32 s
[safe-coloured-text-gen] -- Default background
1676.32 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1676.32 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.32 s
[safe-coloured-text-gen] - | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.32 s
[safe-coloured-text-gen] + | p == 55 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.32 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.32 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1676.32 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.32 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:249:10-12
1676.32 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1676.32 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.32 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.32 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.32 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1676.33 s
[safe-coloured-text-gen] + | p >= 0 && p <= 97 =
1676.33 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.33 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1676.33 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1676.33 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:249:10-12
1676.33 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1676.33 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.33 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.33 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.33 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1676.33 s
[safe-coloured-text-gen] + | p >= 1 && p <= 97 =
1676.33 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.33 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1676.33 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1676.33 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:249:5-12
1676.33 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1676.33 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.33 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.33 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.33 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1676.33 s
[safe-coloured-text-gen] + | True && p <= 97 =
1676.33 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.33 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1676.33 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1676.33 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:249:5-12
1676.33 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1676.33 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.34 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.34 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.34 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1676.34 s
[safe-coloured-text-gen] + | not p >= 90 && p <= 97 =
1676.34 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.34 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1676.34 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1676.34 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:249:21-23
1676.34 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1676.34 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.34 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.34 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.34 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1676.34 s
[safe-coloured-text-gen] + | p >= 90 && p <= 0 =
1676.34 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.34 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1676.34 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1676.34 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:249:21-23
1676.34 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1676.34 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1676.34 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1676.34 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1676.34 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1676.34 s
[safe-coloured-text-gen] + | p >= 90 && p <= 1 =
1676.34 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1676.34 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1676.34 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.08 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:249:16-23
1717.10 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1717.10 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1717.11 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1717.11 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1717.11 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1717.11 s
[safe-coloured-text-gen] + | p >= 90 && True =
1717.11 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1717.11 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.11 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.11 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:249:16-23
1717.11 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1717.11 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1717.11 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1717.11 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1717.11 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1717.11 s
[safe-coloured-text-gen] + | p >= 90 && not p <= 97 =
1717.11 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1717.11 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.11 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.11 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:250:41-43
1717.11 s
[safe-coloured-text-gen] @@ -247,7 +247,7 @@
1717.11 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1717.11 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1717.11 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1717.11 s
[safe-coloured-text-gen] - case terminalColourFromIndex (p - 90) of
1717.11 s
[safe-coloured-text-gen] + case terminalColourFromIndex (p - 0) of
1717.11 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.12 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.12 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.12 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:250:7-30
1717.12 s
[safe-coloured-text-gen] @@ -247,9 +247,8 @@
1717.12 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1717.12 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1717.12 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1717.12 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1717.12 s
[safe-coloured-text-gen] - Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.12 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.12 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.12 s
[safe-coloured-text-gen] | p >= 100 && p <= 107 =
1717.12 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.12 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:250:7-30
1717.12 s
[safe-coloured-text-gen] @@ -247,9 +247,8 @@
1717.12 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1717.12 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1717.12 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1717.12 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1717.12 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.12 s
[safe-coloured-text-gen] - Nothing -> goSGR s ps
1717.12 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.12 s
[safe-coloured-text-gen] | p >= 100 && p <= 107 =
1717.12 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.12 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:249:5-23
1717.12 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1717.12 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1717.12 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1717.12 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1717.12 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1717.12 s
[safe-coloured-text-gen] + | not p >= 90 && p <= 97 =
1717.12 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1717.12 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.12 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.12 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:254:5-13
1717.12 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.12 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.13 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.13 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.13 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1717.13 s
[safe-coloured-text-gen] + | True && p <= 107 =
1717.13 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.13 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1717.13 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.13 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:254:10-13
1717.13 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.13 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.13 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.13 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.13 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1717.13 s
[safe-coloured-text-gen] + | p >= 0 && p <= 107 =
1717.13 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.13 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1717.13 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.13 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:254:10-13
1717.13 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.13 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.13 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.13 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.13 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1717.13 s
[safe-coloured-text-gen] + | p >= 1 && p <= 107 =
1717.13 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.13 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1717.13 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.13 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:254:17-25
1717.13 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.13 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.13 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.13 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.13 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1717.13 s
[safe-coloured-text-gen] + | p >= 100 && True =
1717.13 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.14 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1717.14 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.14 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:254:22-25
1717.14 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.14 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.14 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.14 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.14 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1717.14 s
[safe-coloured-text-gen] + | p >= 100 && p <= 0 =
1717.14 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.14 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1717.14 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.14 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:254:5-25
1717.14 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.14 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.14 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.14 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.14 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1717.14 s
[safe-coloured-text-gen] + | not p >= 100 && p <= 107 =
1717.14 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.14 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1717.14 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.14 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:249:5-23
1717.14 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1717.14 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1717.14 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1717.14 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1717.14 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1717.14 s
[safe-coloured-text-gen] + | True =
1717.14 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1717.14 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.14 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.14 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:254:22-25
1717.14 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.14 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.15 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.15 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.15 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1717.15 s
[safe-coloured-text-gen] + | p >= 100 && p <= 1 =
1717.15 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.15 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1717.15 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.15 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:250:41-43
1717.15 s
[safe-coloured-text-gen] @@ -247,7 +247,7 @@
1717.15 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1717.15 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1717.15 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1717.15 s
[safe-coloured-text-gen] - case terminalColourFromIndex (p - 90) of
1717.15 s
[safe-coloured-text-gen] + case terminalColourFromIndex (p - 1) of
1717.15 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.15 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.15 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.15 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:254:5-25
1717.15 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.15 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.15 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.15 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.15 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1717.15 s
[safe-coloured-text-gen] + | True =
1717.15 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1717.15 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1717.15 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.15 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:254:17-25
1717.15 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1717.15 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1717.15 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1717.15 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1717.15 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1749.87 s
[safe-coloured-text-gen] + | p >= 100 && not p <= 107 =
1749.87 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1749.90 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1749.90 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.90 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:246:5-12
1749.90 s
[safe-coloured-text-gen] @@ -243,7 +243,7 @@
1749.90 s
[safe-coloured-text-gen] _ -> goSGR s ps
1749.90 s
[safe-coloured-text-gen] -- Default background
1749.90 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1749.90 s
[safe-coloured-text-gen] - | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1749.90 s
[safe-coloured-text-gen] + | True = goSGR (s {chunkStyleOverlined = Just True}) ps
1749.90 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1749.91 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1749.91 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1749.91 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:254:5-13
1749.91 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1749.91 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1749.91 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.91 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1749.91 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1749.91 s
[safe-coloured-text-gen] + | not p >= 100 && p <= 107 =
1749.91 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1749.91 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1749.91 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.91 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:255:41-44
1749.91 s
[safe-coloured-text-gen] @@ -252,7 +252,7 @@
1749.91 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.91 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1749.91 s
[safe-coloured-text-gen] | p >= 100 && p <= 107 =
1749.91 s
[safe-coloured-text-gen] - case terminalColourFromIndex (p - 100) of
1749.91 s
[safe-coloured-text-gen] + case terminalColourFromIndex (p - 0) of
1749.91 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1749.91 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.91 s
[safe-coloured-text-gen] -- Unknown code, skip
1749.91 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:255:7-30
1749.91 s
[safe-coloured-text-gen] @@ -252,8 +252,7 @@
1749.91 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.91 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1749.91 s
[safe-coloured-text-gen] | p >= 100 && p <= 107 =
1749.91 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1749.91 s
[safe-coloured-text-gen] - Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1749.91 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.91 s
[safe-coloured-text-gen] -- Unknown code, skip
1749.91 s
[safe-coloured-text-gen] | otherwise = goSGR s ps
1749.91 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:255:7-30
1749.91 s
[safe-coloured-text-gen] @@ -252,8 +252,7 @@
1749.91 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.91 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1749.92 s
[safe-coloured-text-gen] | p >= 100 && p <= 107 =
1749.92 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1749.92 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1749.92 s
[safe-coloured-text-gen] - Nothing -> goSGR s ps
1749.92 s
[safe-coloured-text-gen] -- Unknown code, skip
1749.92 s
[safe-coloured-text-gen] | otherwise = goSGR s ps
1749.92 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:168:11-22
1749.92 s
[safe-coloured-text-gen] @@ -165,7 +165,7 @@
1749.92 s
[safe-coloured-text-gen] go s [] = (s, [])
1749.92 s
[safe-coloured-text-gen] go s (token : rest) = case token of
1749.92 s
[safe-coloured-text-gen] PlainText t
1749.92 s
[safe-coloured-text-gen] - | Text.null t -> go s rest
1749.92 s
[safe-coloured-text-gen] + | not Text.null t -> go s rest
1749.92 s
[safe-coloured-text-gen] | otherwise ->
1749.92 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1749.92 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = t, chunkStyle = s} : restChunks)
1749.92 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:175:9-25
1749.92 s
[safe-coloured-text-gen] @@ -172,11 +172,8 @@
1749.92 s
[safe-coloured-text-gen] SgrSequence params -> go (applySGRParams s params) rest
1749.92 s
[safe-coloured-text-gen] OtherCsiSequence -> go s rest
1749.92 s
[safe-coloured-text-gen] CarriageReturn ->
1749.92 s
[safe-coloured-text-gen] case rest of
1749.92 s
[safe-coloured-text-gen] - (PlainText _ : _) ->
1749.92 s
[safe-coloured-text-gen] - let (finalS, restChunks) = go s rest
1749.92 s
[safe-coloured-text-gen] - in (finalS, Chunk {chunkText = "\n", chunkStyle = s} : restChunks)
1749.92 s
[safe-coloured-text-gen] _ -> go s rest
1749.92 s
[safe-coloured-text-gen]
1749.92 s
[safe-coloured-text-gen] -- | Parse strict 'Text' containing ANSI escape codes into styled 'Chunk's.
1749.92 s
[safe-coloured-text-gen] --
1749.92 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:175:9-25
1749.92 s
[safe-coloured-text-gen] @@ -172,11 +172,10 @@
1749.92 s
[safe-coloured-text-gen] SgrSequence params -> go (applySGRParams s params) rest
1749.92 s
[safe-coloured-text-gen] OtherCsiSequence -> go s rest
1749.92 s
[safe-coloured-text-gen] CarriageReturn ->
1749.92 s
[safe-coloured-text-gen] case rest of
1749.92 s
[safe-coloured-text-gen] (PlainText _ : _) ->
1749.92 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1749.92 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = "\n", chunkStyle = s} : restChunks)
1749.92 s
[safe-coloured-text-gen] - _ -> go s rest
1749.92 s
[safe-coloured-text-gen]
1749.92 s
[safe-coloured-text-gen] -- | Parse strict 'Text' containing ANSI escape codes into styled 'Chunk's.
1749.92 s
[safe-coloured-text-gen] --
1749.92 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:166:27-25
1749.92 s
[safe-coloured-text-gen] @@ -163,20 +163,19 @@
1749.92 s
[safe-coloured-text-gen] where
1749.92 s
[safe-coloured-text-gen] go :: ChunkStyle -> [AnsiToken] -> (ChunkStyle, [Chunk])
1749.92 s
[safe-coloured-text-gen] go s [] = (s, [])
1749.92 s
[safe-coloured-text-gen] go s (token : rest) = case token of
1749.92 s
[safe-coloured-text-gen] PlainText t
1749.92 s
[safe-coloured-text-gen] | Text.null t -> go s rest
1749.92 s
[safe-coloured-text-gen] | otherwise ->
1749.92 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1749.92 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = t, chunkStyle = s} : restChunks)
1749.92 s
[safe-coloured-text-gen] SgrSequence params -> go (applySGRParams s params) rest
1749.92 s
[safe-coloured-text-gen] - OtherCsiSequence -> go s rest
1749.92 s
[safe-coloured-text-gen] CarriageReturn ->
1749.92 s
[safe-coloured-text-gen] case rest of
1749.92 s
[safe-coloured-text-gen] (PlainText _ : _) ->
1749.92 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1749.92 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = "\n", chunkStyle = s} : restChunks)
1749.92 s
[safe-coloured-text-gen] _ -> go s rest
1749.92 s
[safe-coloured-text-gen]
1749.92 s
[safe-coloured-text-gen] -- | Parse strict 'Text' containing ANSI escape codes into styled 'Chunk's.
1749.92 s
[safe-coloured-text-gen] --
1749.92 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:166:27-25
1749.92 s
[safe-coloured-text-gen] @@ -163,20 +163,19 @@
1749.93 s
[safe-coloured-text-gen] where
1749.93 s
[safe-coloured-text-gen] go :: ChunkStyle -> [AnsiToken] -> (ChunkStyle, [Chunk])
1749.93 s
[safe-coloured-text-gen] go s [] = (s, [])
1749.93 s
[safe-coloured-text-gen] go s (token : rest) = case token of
1749.93 s
[safe-coloured-text-gen] PlainText t
1749.93 s
[safe-coloured-text-gen] | Text.null t -> go s rest
1749.93 s
[safe-coloured-text-gen] | otherwise ->
1749.93 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1749.93 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = t, chunkStyle = s} : restChunks)
1749.93 s
[safe-coloured-text-gen] - SgrSequence params -> go (applySGRParams s params) rest
1749.93 s
[safe-coloured-text-gen] OtherCsiSequence -> go s rest
1749.93 s
[safe-coloured-text-gen] CarriageReturn ->
1749.93 s
[safe-coloured-text-gen] case rest of
1749.93 s
[safe-coloured-text-gen] (PlainText _ : _) ->
1749.93 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1749.93 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = "\n", chunkStyle = s} : restChunks)
1749.93 s
[safe-coloured-text-gen] _ -> go s rest
1749.93 s
[safe-coloured-text-gen]
1749.93 s
[safe-coloured-text-gen] -- | Parse strict 'Text' containing ANSI escape codes into styled 'Chunk's.
1749.93 s
[safe-coloured-text-gen] --
1749.93 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:223:16-23
1749.93 s
[safe-coloured-text-gen] @@ -220,7 +220,7 @@
1749.93 s
[safe-coloured-text-gen] | p == 28 = goSGR (s {chunkStyleConcealed = Just False}) ps
1749.93 s
[safe-coloured-text-gen] | p == 29 = goSGR (s {chunkStyleStrikethrough = Just False}) ps
1749.93 s
[safe-coloured-text-gen] -- Standard foreground colours (30-37)
1749.93 s
[safe-coloured-text-gen] - | p >= 30 && p <= 37 =
1749.93 s
[safe-coloured-text-gen] + | p >= 30 && not p <= 37 =
1749.93 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 30) of
1749.93 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1749.93 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.93 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:166:27-25
1749.93 s
[safe-coloured-text-gen] @@ -163,20 +163,14 @@
1749.93 s
[safe-coloured-text-gen] where
1749.93 s
[safe-coloured-text-gen] go :: ChunkStyle -> [AnsiToken] -> (ChunkStyle, [Chunk])
1749.93 s
[safe-coloured-text-gen] go s [] = (s, [])
1749.93 s
[safe-coloured-text-gen] go s (token : rest) = case token of
1749.93 s
[safe-coloured-text-gen] PlainText t
1749.93 s
[safe-coloured-text-gen] | Text.null t -> go s rest
1749.93 s
[safe-coloured-text-gen] | otherwise ->
1749.93 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1749.93 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = t, chunkStyle = s} : restChunks)
1749.93 s
[safe-coloured-text-gen] SgrSequence params -> go (applySGRParams s params) rest
1749.93 s
[safe-coloured-text-gen] OtherCsiSequence -> go s rest
1749.93 s
[safe-coloured-text-gen] - CarriageReturn ->
1749.93 s
[safe-coloured-text-gen] - case rest of
1749.93 s
[safe-coloured-text-gen] - (PlainText _ : _) ->
1749.93 s
[safe-coloured-text-gen] - let (finalS, restChunks) = go s rest
1749.94 s
[safe-coloured-text-gen] - in (finalS, Chunk {chunkText = "\n", chunkStyle = s} : restChunks)
1749.94 s
[safe-coloured-text-gen] - _ -> go s rest
1749.94 s
[safe-coloured-text-gen]
1749.94 s
[safe-coloured-text-gen] -- | Parse strict 'Text' containing ANSI escape codes into styled 'Chunk's.
1749.94 s
[safe-coloured-text-gen] --
1749.94 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:228:10-12
1749.94 s
[safe-coloured-text-gen] @@ -225,7 +225,7 @@
1749.94 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1749.94 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1749.94 s
[safe-coloured-text-gen] -- Extended foreground colour
1749.94 s
[safe-coloured-text-gen] - | p == 38 = case ps of
1749.94 s
[safe-coloured-text-gen] + | p == 0 = case ps of
1749.94 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleForeground = Just (Colour8Bit n)}) rest
1749.94 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1749.94 s
[safe-coloured-text-gen] _ -> goSGR s ps
1749.94 s
[safe-coloured-text-gen] Testing mutation BoolLit at src/Text/Colour/Chunk/Parsing.hs:130:38-43
1749.94 s
[safe-coloured-text-gen] @@ -127,7 +127,7 @@
1749.94 s
[safe-coloured-text-gen]
1749.94 s
[safe-coloured-text-gen] csiParamsP :: Parser ([Word8], Bool)
1749.94 s
[safe-coloured-text-gen] csiParamsP = do
1749.94 s
[safe-coloured-text-gen] - (revAcc, hasIntermediate) <- go [] False
1749.94 s
[safe-coloured-text-gen] + (revAcc, hasIntermediate) <- go [] True
1749.94 s
[safe-coloured-text-gen] pure (reverse revAcc, hasIntermediate)
1749.94 s
[safe-coloured-text-gen] where
1749.94 s
[safe-coloured-text-gen] go :: [Word8] -> Bool -> Parser ([Word8], Bool)
1749.94 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:168:11-22
1749.94 s
[safe-coloured-text-gen] @@ -165,7 +165,7 @@
1749.94 s
[safe-coloured-text-gen] go s [] = (s, [])
1749.94 s
[safe-coloured-text-gen] go s (token : rest) = case token of
1749.94 s
[safe-coloured-text-gen] PlainText t
1788.24 s
[safe-coloured-text-gen] - | Text.null t -> go s rest
1788.24 s
[safe-coloured-text-gen] + | True -> go s rest
1788.26 s
[safe-coloured-text-gen] | otherwise ->
1788.26 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1788.26 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = t, chunkStyle = s} : restChunks)
1788.26 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:166:27-25
1788.26 s
[safe-coloured-text-gen] @@ -163,20 +163,15 @@
1788.26 s
[safe-coloured-text-gen] where
1788.26 s
[safe-coloured-text-gen] go :: ChunkStyle -> [AnsiToken] -> (ChunkStyle, [Chunk])
1788.26 s
[safe-coloured-text-gen] go s [] = (s, [])
1788.27 s
[safe-coloured-text-gen] go s (token : rest) = case token of
1788.27 s
[safe-coloured-text-gen] - PlainText t
1788.27 s
[safe-coloured-text-gen] - | Text.null t -> go s rest
1788.27 s
[safe-coloured-text-gen] - | otherwise ->
1788.27 s
[safe-coloured-text-gen] - let (finalS, restChunks) = go s rest
1788.27 s
[safe-coloured-text-gen] - in (finalS, Chunk {chunkText = t, chunkStyle = s} : restChunks)
1788.27 s
[safe-coloured-text-gen] SgrSequence params -> go (applySGRParams s params) rest
1788.27 s
[safe-coloured-text-gen] OtherCsiSequence -> go s rest
1788.27 s
[safe-coloured-text-gen] CarriageReturn ->
1788.27 s
[safe-coloured-text-gen] case rest of
1788.27 s
[safe-coloured-text-gen] (PlainText _ : _) ->
1788.27 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1788.27 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = "\n", chunkStyle = s} : restChunks)
1788.27 s
[safe-coloured-text-gen] _ -> go s rest
1788.27 s
[safe-coloured-text-gen]
1788.27 s
[safe-coloured-text-gen] -- | Parse strict 'Text' containing ANSI escape codes into styled 'Chunk's.
1788.27 s
[safe-coloured-text-gen] --
1788.27 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:255:41-44
1788.27 s
[safe-coloured-text-gen] @@ -252,7 +252,7 @@
1788.27 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1788.27 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1788.27 s
[safe-coloured-text-gen] | p >= 100 && p <= 107 =
1788.27 s
[safe-coloured-text-gen] - case terminalColourFromIndex (p - 100) of
1788.27 s
[safe-coloured-text-gen] + case terminalColourFromIndex (p - 1) of
1788.27 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1788.27 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1788.27 s
[safe-coloured-text-gen] -- Unknown code, skip
1788.27 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:136:10-19
1788.27 s
[safe-coloured-text-gen] @@ -133,7 +133,7 @@
1788.27 s
[safe-coloured-text-gen] go :: [Word8] -> Bool -> Parser ([Word8], Bool)
1788.27 s
[safe-coloured-text-gen] go acc hasIntermediate = do
1788.27 s
[safe-coloured-text-gen] c <- peekChar'
1788.27 s
[safe-coloured-text-gen] - if isDigit c
1788.27 s
[safe-coloured-text-gen] + if True
1788.27 s
[safe-coloured-text-gen] then do
1788.27 s
[safe-coloured-text-gen] digits <- takeWhile1 isDigit
1788.27 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.27 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:136:10-19
1788.27 s
[safe-coloured-text-gen] @@ -133,7 +133,7 @@
1788.27 s
[safe-coloured-text-gen] go :: [Word8] -> Bool -> Parser ([Word8], Bool)
1788.27 s
[safe-coloured-text-gen] go acc hasIntermediate = do
1788.27 s
[safe-coloured-text-gen] c <- peekChar'
1788.27 s
[safe-coloured-text-gen] - if isDigit c
1788.27 s
[safe-coloured-text-gen] + if not isDigit c
1788.27 s
[safe-coloured-text-gen] then do
1788.27 s
[safe-coloured-text-gen] digits <- takeWhile1 isDigit
1788.27 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.27 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:141:65-80
1788.28 s
[safe-coloured-text-gen] @@ -138,7 +138,7 @@
1788.28 s
[safe-coloured-text-gen] digits <- takeWhile1 isDigit
1788.28 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.28 s
[safe-coloured-text-gen] Just n
1788.28 s
[safe-coloured-text-gen] - | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1788.28 s
[safe-coloured-text-gen] + | n <= (255 :: Word) -> go (fromIntegral n : acc) False
1788.28 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1788.28 s
[safe-coloured-text-gen] else
1788.28 s
[safe-coloured-text-gen] if c == ';'
1788.28 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:141:65-80
1788.28 s
[safe-coloured-text-gen] @@ -138,7 +138,7 @@
1788.28 s
[safe-coloured-text-gen] digits <- takeWhile1 isDigit
1788.28 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.28 s
[safe-coloured-text-gen] Just n
1788.28 s
[safe-coloured-text-gen] - | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1788.28 s
[safe-coloured-text-gen] + | n <= (255 :: Word) -> go (fromIntegral n : acc) True
1788.28 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1788.28 s
[safe-coloured-text-gen] else
1788.28 s
[safe-coloured-text-gen] if c == ';'
1788.28 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:141:65-80
1788.28 s
[safe-coloured-text-gen] @@ -138,7 +138,7 @@
1788.28 s
[safe-coloured-text-gen] digits <- takeWhile1 isDigit
1788.28 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.28 s
[safe-coloured-text-gen] Just n
1788.28 s
[safe-coloured-text-gen] - | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1788.28 s
[safe-coloured-text-gen] + | n <= (255 :: Word) -> go (fromIntegral n : acc) not hasIntermediate
1788.28 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1788.28 s
[safe-coloured-text-gen] else
1788.28 s
[safe-coloured-text-gen] if c == ';'
1788.28 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:136:10-19
1788.28 s
[safe-coloured-text-gen] @@ -133,7 +133,7 @@
1788.28 s
[safe-coloured-text-gen] go :: [Word8] -> Bool -> Parser ([Word8], Bool)
1788.28 s
[safe-coloured-text-gen] go acc hasIntermediate = do
1788.28 s
[safe-coloured-text-gen] c <- peekChar'
1788.28 s
[safe-coloured-text-gen] - if isDigit c
1788.28 s
[safe-coloured-text-gen] + if False
1788.28 s
[safe-coloured-text-gen] then do
1788.28 s
[safe-coloured-text-gen] digits <- takeWhile1 isDigit
1788.28 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.28 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:235:16-23
1788.28 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1788.28 s
[safe-coloured-text-gen] -- Default foreground
1788.28 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1788.28 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1788.28 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1788.28 s
[safe-coloured-text-gen] + | p >= 40 && not p <= 47 =
1788.28 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1788.28 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1788.28 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1788.28 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:131:25-40
1788.28 s
[safe-coloured-text-gen] @@ -128,7 +128,7 @@
1788.28 s
[safe-coloured-text-gen] csiParamsP :: Parser ([Word8], Bool)
1788.28 s
[safe-coloured-text-gen] csiParamsP = do
1788.28 s
[safe-coloured-text-gen] (revAcc, hasIntermediate) <- go [] False
1788.28 s
[safe-coloured-text-gen] - pure (reverse revAcc, hasIntermediate)
1788.28 s
[safe-coloured-text-gen] + pure (reverse revAcc, True)
1788.28 s
[safe-coloured-text-gen] where
1788.28 s
[safe-coloured-text-gen] go :: [Word8] -> Bool -> Parser ([Word8], Bool)
1788.28 s
[safe-coloured-text-gen] go acc hasIntermediate = do
1788.28 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:142:25-40
1788.28 s
[safe-coloured-text-gen] @@ -139,7 +139,7 @@
1788.28 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.28 s
[safe-coloured-text-gen] Just n
1788.28 s
[safe-coloured-text-gen] | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1788.28 s
[safe-coloured-text-gen] - _ -> go acc hasIntermediate
1788.28 s
[safe-coloured-text-gen] + _ -> go acc True
1788.29 s
[safe-coloured-text-gen] else
1788.29 s
[safe-coloured-text-gen] if c == ';'
1788.29 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1788.29 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:131:25-40
1788.29 s
[safe-coloured-text-gen] @@ -128,7 +128,7 @@
1788.29 s
[safe-coloured-text-gen] csiParamsP :: Parser ([Word8], Bool)
1788.29 s
[safe-coloured-text-gen] csiParamsP = do
1788.29 s
[safe-coloured-text-gen] (revAcc, hasIntermediate) <- go [] False
1788.29 s
[safe-coloured-text-gen] - pure (reverse revAcc, hasIntermediate)
1788.29 s
[safe-coloured-text-gen] + pure (reverse revAcc, False)
1788.29 s
[safe-coloured-text-gen] where
1788.29 s
[safe-coloured-text-gen] go :: [Word8] -> Bool -> Parser ([Word8], Bool)
1788.29 s
[safe-coloured-text-gen] go acc hasIntermediate = do
1788.29 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:235:16-23
1788.29 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1788.29 s
[safe-coloured-text-gen] -- Default foreground
1788.29 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1788.29 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1788.29 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1788.29 s
[safe-coloured-text-gen] + | p >= 40 && True =
1788.29 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1788.29 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1788.29 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1788.29 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:131:25-40
1788.29 s
[safe-coloured-text-gen] @@ -128,7 +128,7 @@
1788.29 s
[safe-coloured-text-gen] csiParamsP :: Parser ([Word8], Bool)
1788.29 s
[safe-coloured-text-gen] csiParamsP = do
1788.29 s
[safe-coloured-text-gen] (revAcc, hasIntermediate) <- go [] False
1788.29 s
[safe-coloured-text-gen] - pure (reverse revAcc, hasIntermediate)
1788.29 s
[safe-coloured-text-gen] + pure (reverse revAcc, not hasIntermediate)
1788.29 s
[safe-coloured-text-gen] where
1788.29 s
[safe-coloured-text-gen] go :: [Word8] -> Bool -> Parser ([Word8], Bool)
1788.29 s
[safe-coloured-text-gen] go acc hasIntermediate = do
1788.29 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:142:25-40
1788.29 s
[safe-coloured-text-gen] @@ -139,7 +139,7 @@
1788.29 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.29 s
[safe-coloured-text-gen] Just n
1788.29 s
[safe-coloured-text-gen] | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1788.29 s
[safe-coloured-text-gen] - _ -> go acc hasIntermediate
1788.29 s
[safe-coloured-text-gen] + _ -> go acc False
1788.29 s
[safe-coloured-text-gen] else
1788.29 s
[safe-coloured-text-gen] if c == ';'
1788.29 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1788.29 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:144:14-22
1788.29 s
[safe-coloured-text-gen] @@ -141,7 +141,7 @@
1788.29 s
[safe-coloured-text-gen] | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1788.29 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1788.29 s
[safe-coloured-text-gen] else
1788.29 s
[safe-coloured-text-gen] - if c == ';'
1788.29 s
[safe-coloured-text-gen] + if False
1788.29 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1788.29 s
[safe-coloured-text-gen] else
1788.29 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1788.29 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:141:17-35
1788.29 s
[safe-coloured-text-gen] @@ -138,7 +138,7 @@
1788.29 s
[safe-coloured-text-gen] digits <- takeWhile1 isDigit
1788.29 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1788.29 s
[safe-coloured-text-gen] Just n
1788.29 s
[safe-coloured-text-gen] - | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1788.29 s
[safe-coloured-text-gen] + | True -> go (fromIntegral n : acc) hasIntermediate
1788.29 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1788.29 s
[safe-coloured-text-gen] else
1788.29 s
[safe-coloured-text-gen] if c == ';'
1788.30 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:144:14-22
1788.30 s
[safe-coloured-text-gen] @@ -141,7 +141,7 @@
1788.30 s
[safe-coloured-text-gen] | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1788.30 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1788.30 s
[safe-coloured-text-gen] else
1788.30 s
[safe-coloured-text-gen] - if c == ';'
1788.30 s
[safe-coloured-text-gen] + if not c == ';'
1788.30 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.28 s
[safe-coloured-text-gen] else
1837.28 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1837.28 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:145:36-51
1837.31 s
[safe-coloured-text-gen] @@ -142,7 +142,7 @@
1837.31 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1837.31 s
[safe-coloured-text-gen] else
1837.31 s
[safe-coloured-text-gen] if c == ';'
1837.31 s
[safe-coloured-text-gen] - then anyChar >> go acc hasIntermediate
1837.31 s
[safe-coloured-text-gen] + then anyChar >> go acc True
1837.31 s
[safe-coloured-text-gen] else
1837.31 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1837.32 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.32 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:247:5-12
1837.32 s
[safe-coloured-text-gen] @@ -244,7 +244,7 @@
1837.32 s
[safe-coloured-text-gen] -- Default background
1837.32 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1837.32 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1837.32 s
[safe-coloured-text-gen] - | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1837.32 s
[safe-coloured-text-gen] + | True = goSGR (s {chunkStyleOverlined = Just False}) ps
1837.32 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1837.32 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1837.32 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1837.32 s
[safe-coloured-text-gen] Testing mutation BoolLit at src/Text/Colour/Chunk/Parsing.hs:246:52-56
1837.32 s
[safe-coloured-text-gen] @@ -243,7 +243,7 @@
1837.32 s
[safe-coloured-text-gen] _ -> goSGR s ps
1837.32 s
[safe-coloured-text-gen] -- Default background
1837.32 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1837.32 s
[safe-coloured-text-gen] - | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1837.32 s
[safe-coloured-text-gen] + | p == 53 = goSGR (s {chunkStyleOverlined = Just False}) ps
1837.32 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1837.32 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1837.32 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1837.32 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:145:36-51
1837.32 s
[safe-coloured-text-gen] @@ -142,7 +142,7 @@
1837.32 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1837.32 s
[safe-coloured-text-gen] else
1837.32 s
[safe-coloured-text-gen] if c == ';'
1837.32 s
[safe-coloured-text-gen] - then anyChar >> go acc hasIntermediate
1837.32 s
[safe-coloured-text-gen] + then anyChar >> go acc False
1837.32 s
[safe-coloured-text-gen] else
1837.32 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1837.32 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.32 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:142:25-40
1837.33 s
[safe-coloured-text-gen] @@ -139,7 +139,7 @@
1837.33 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1837.33 s
[safe-coloured-text-gen] Just n
1837.33 s
[safe-coloured-text-gen] | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1837.33 s
[safe-coloured-text-gen] - _ -> go acc hasIntermediate
1837.33 s
[safe-coloured-text-gen] + _ -> go acc not hasIntermediate
1837.33 s
[safe-coloured-text-gen] else
1837.33 s
[safe-coloured-text-gen] if c == ';'
1837.33 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.33 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:141:17-35
1837.33 s
[safe-coloured-text-gen] @@ -138,7 +138,7 @@
1837.33 s
[safe-coloured-text-gen] digits <- takeWhile1 isDigit
1837.33 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1837.33 s
[safe-coloured-text-gen] Just n
1837.33 s
[safe-coloured-text-gen] - | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1837.33 s
[safe-coloured-text-gen] + | not n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1837.33 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1837.33 s
[safe-coloured-text-gen] else
1837.33 s
[safe-coloured-text-gen] if c == ';'
1837.33 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:247:10-12
1837.33 s
[safe-coloured-text-gen] @@ -244,7 +244,7 @@
1837.33 s
[safe-coloured-text-gen] -- Default background
1837.33 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1837.33 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1837.33 s
[safe-coloured-text-gen] - | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1837.33 s
[safe-coloured-text-gen] + | p == 1 = goSGR (s {chunkStyleOverlined = Just False}) ps
1837.33 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1837.33 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1837.33 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1837.33 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Chunk/Parsing.hs:208:10-11
1837.33 s
[safe-coloured-text-gen] @@ -205,7 +205,7 @@
1837.33 s
[safe-coloured-text-gen] | p == 1 = goSGR (s {chunkStyleConsoleIntensity = Just BoldIntensity}) ps
1837.34 s
[safe-coloured-text-gen] | p == 2 = goSGR (s {chunkStyleConsoleIntensity = Just FaintIntensity}) ps
1837.34 s
[safe-coloured-text-gen] | p == 3 = goSGR (s {chunkStyleItalic = Just True}) ps
1837.34 s
[safe-coloured-text-gen] - | p == 4 = goSGR (s {chunkStyleUnderlining = Just SingleUnderline}) ps
1837.34 s
[safe-coloured-text-gen] + | p == 0 = goSGR (s {chunkStyleUnderlining = Just SingleUnderline}) ps
1837.34 s
[safe-coloured-text-gen] | p == 5 = goSGR (s {chunkStyleBlinking = Just SlowBlinking}) ps
1837.34 s
[safe-coloured-text-gen] | p == 6 = goSGR (s {chunkStyleBlinking = Just RapidBlinking}) ps
1837.34 s
[safe-coloured-text-gen] | p == 7 = goSGR (s {chunkStyleSwapForegroundBackground = Just True}) ps
1837.34 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:144:14-22
1837.34 s
[safe-coloured-text-gen] @@ -141,7 +141,7 @@
1837.34 s
[safe-coloured-text-gen] | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1837.34 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1837.34 s
[safe-coloured-text-gen] else
1837.34 s
[safe-coloured-text-gen] - if c == ';'
1837.34 s
[safe-coloured-text-gen] + if True
1837.34 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.34 s
[safe-coloured-text-gen] else
1837.34 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1837.34 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:147:18-29
1837.34 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1837.34 s
[safe-coloured-text-gen] if c == ';'
1837.34 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.34 s
[safe-coloured-text-gen] else
1837.34 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1837.34 s
[safe-coloured-text-gen] + if True && c <= '\x2F'
1837.34 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.34 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1837.34 s
[safe-coloured-text-gen]
1837.34 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:147:18-29
1837.34 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1837.34 s
[safe-coloured-text-gen] if c == ';'
1837.34 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.34 s
[safe-coloured-text-gen] else
1837.34 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1837.34 s
[safe-coloured-text-gen] + if False && c <= '\x2F'
1837.34 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.34 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1837.34 s
[safe-coloured-text-gen]
1837.34 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:145:36-51
1837.34 s
[safe-coloured-text-gen] @@ -142,7 +142,7 @@
1837.35 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1837.35 s
[safe-coloured-text-gen] else
1837.35 s
[safe-coloured-text-gen] if c == ';'
1837.35 s
[safe-coloured-text-gen] - then anyChar >> go acc hasIntermediate
1837.35 s
[safe-coloured-text-gen] + then anyChar >> go acc not hasIntermediate
1837.35 s
[safe-coloured-text-gen] else
1837.35 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.35 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:147:33-44
1837.35 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1837.35 s
[safe-coloured-text-gen] if c == ';'
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.35 s
[safe-coloured-text-gen] else
1837.35 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1837.35 s
[safe-coloured-text-gen] + if c >= '\x20' && not c <= '\x2F'
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.35 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1837.35 s
[safe-coloured-text-gen]
1837.35 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:147:33-44
1837.35 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1837.35 s
[safe-coloured-text-gen] if c == ';'
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.35 s
[safe-coloured-text-gen] else
1837.35 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1837.35 s
[safe-coloured-text-gen] + if c >= '\x20' && False
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.35 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1837.35 s
[safe-coloured-text-gen]
1837.35 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:147:18-44
1837.35 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1837.35 s
[safe-coloured-text-gen] if c == ';'
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.35 s
[safe-coloured-text-gen] else
1837.35 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1837.35 s
[safe-coloured-text-gen] + if False
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.35 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1837.35 s
[safe-coloured-text-gen]
1837.35 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:147:18-44
1837.35 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1837.35 s
[safe-coloured-text-gen] if c == ';'
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.35 s
[safe-coloured-text-gen] else
1837.35 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1837.35 s
[safe-coloured-text-gen] + if not c >= '\x20' && c <= '\x2F'
1837.35 s
[safe-coloured-text-gen] then anyChar >> go acc True
1837.35 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1837.36 s
[safe-coloured-text-gen]
1837.36 s
[safe-coloured-text-gen] Testing mutation BoolLit at src/Text/Colour/Chunk/Parsing.hs:148:40-44
1837.36 s
[safe-coloured-text-gen] @@ -145,7 +145,7 @@
1837.36 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1837.36 s
[safe-coloured-text-gen] else
1837.36 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1837.36 s
[safe-coloured-text-gen] - then anyChar >> go acc True
1837.36 s
[safe-coloured-text-gen] + then anyChar >> go acc False
1837.36 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1837.36 s
[safe-coloured-text-gen]
1837.36 s
[safe-coloured-text-gen] -- | Convert a stream of 'AnsiToken's into styled 'Chunk's.
1837.36 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:224:7-30
1837.36 s
[safe-coloured-text-gen] @@ -221,9 +221,8 @@
1837.36 s
[safe-coloured-text-gen] | p == 29 = goSGR (s {chunkStyleStrikethrough = Just False}) ps
1837.36 s
[safe-coloured-text-gen] -- Standard foreground colours (30-37)
1837.36 s
[safe-coloured-text-gen] | p >= 30 && p <= 37 =
1837.36 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 30) of
1837.36 s
[safe-coloured-text-gen] - Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1837.36 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1837.36 s
[safe-coloured-text-gen] -- Extended foreground colour
1837.36 s
[safe-coloured-text-gen] | p == 38 = case ps of
1837.36 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleForeground = Just (Colour8Bit n)}) rest
1837.36 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:149:33-48
1837.36 s
[safe-coloured-text-gen] @@ -146,7 +146,7 @@
1837.36 s
[safe-coloured-text-gen] else
1877.50 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1877.52 s
[safe-coloured-text-gen] then anyChar >> go acc True
1877.52 s
[safe-coloured-text-gen] - else pure (acc, hasIntermediate)
1877.53 s
[safe-coloured-text-gen] + else pure (acc, not hasIntermediate)
1877.53 s
[safe-coloured-text-gen]
1877.53 s
[safe-coloured-text-gen] -- | Convert a stream of 'AnsiToken's into styled 'Chunk's.
1877.53 s
[safe-coloured-text-gen] --
1877.53 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:31-42
1877.53 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.53 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.53 s
[safe-coloured-text-gen] _ <- char '['
1877.53 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.53 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.53 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> True && c <= '\x7E')
1877.53 s
[safe-coloured-text-gen] pure $
1877.53 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.53 s
[safe-coloured-text-gen] then SgrSequence params
1877.53 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:31-42
1877.53 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.53 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.53 s
[safe-coloured-text-gen] _ <- char '['
1877.53 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.53 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.53 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> False && c <= '\x7E')
1877.53 s
[safe-coloured-text-gen] pure $
1877.53 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.53 s
[safe-coloured-text-gen] then SgrSequence params
1877.53 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:147:33-44
1877.53 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1877.53 s
[safe-coloured-text-gen] if c == ';'
1877.53 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1877.53 s
[safe-coloured-text-gen] else
1877.53 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1877.53 s
[safe-coloured-text-gen] + if c >= '\x20' && True
1877.53 s
[safe-coloured-text-gen] then anyChar >> go acc True
1877.53 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1877.53 s
[safe-coloured-text-gen]
1877.53 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:122:31-42
1877.53 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.53 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.53 s
[safe-coloured-text-gen] _ <- char '['
1877.53 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.53 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.53 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> not c >= '\x40' && c <= '\x7E')
1877.53 s
[safe-coloured-text-gen] pure $
1877.53 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.53 s
[safe-coloured-text-gen] then SgrSequence params
1877.53 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:46-57
1877.53 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.53 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.53 s
[safe-coloured-text-gen] _ <- char '['
1877.53 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.53 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.54 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> c >= '\x40' && True)
1877.54 s
[safe-coloured-text-gen] pure $
1877.54 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.54 s
[safe-coloured-text-gen] then SgrSequence params
1877.54 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:46-57
1877.54 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.54 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.54 s
[safe-coloured-text-gen] _ <- char '['
1877.54 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.54 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.54 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> c >= '\x40' && False)
1877.54 s
[safe-coloured-text-gen] pure $
1877.54 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.54 s
[safe-coloured-text-gen] then SgrSequence params
1877.54 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:122:46-57
1877.54 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.54 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.54 s
[safe-coloured-text-gen] _ <- char '['
1877.54 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.54 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.54 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> c >= '\x40' && not c <= '\x7E')
1877.54 s
[safe-coloured-text-gen] pure $
1877.54 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.54 s
[safe-coloured-text-gen] then SgrSequence params
1877.54 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:31-57
1877.54 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.54 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.54 s
[safe-coloured-text-gen] _ <- char '['
1877.54 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.54 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.54 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> True)
1877.54 s
[safe-coloured-text-gen] pure $
1877.54 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.54 s
[safe-coloured-text-gen] then SgrSequence params
1877.54 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:31-57
1877.54 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.54 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.54 s
[safe-coloured-text-gen] _ <- char '['
1877.54 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.54 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.54 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> False)
1877.54 s
[safe-coloured-text-gen] pure $
1877.54 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.54 s
[safe-coloured-text-gen] then SgrSequence params
1877.54 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:122:31-57
1877.54 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1877.54 s
[safe-coloured-text-gen] _ <- char '\ESC'
1877.54 s
[safe-coloured-text-gen] _ <- char '['
1877.54 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.54 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.54 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> not c >= '\x40' && c <= '\x7E')
1877.54 s
[safe-coloured-text-gen] pure $
1877.54 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1877.54 s
[safe-coloured-text-gen] then SgrSequence params
1877.54 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:149:33-48
1877.54 s
[safe-coloured-text-gen] @@ -146,7 +146,7 @@
1877.54 s
[safe-coloured-text-gen] else
1877.54 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1877.54 s
[safe-coloured-text-gen] then anyChar >> go acc True
1877.54 s
[safe-coloured-text-gen] - else pure (acc, hasIntermediate)
1877.54 s
[safe-coloured-text-gen] + else pure (acc, False)
1877.54 s
[safe-coloured-text-gen]
1877.54 s
[safe-coloured-text-gen] -- | Convert a stream of 'AnsiToken's into styled 'Chunk's.
1877.54 s
[safe-coloured-text-gen] --
1877.54 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:149:33-48
1877.54 s
[safe-coloured-text-gen] @@ -146,7 +146,7 @@
1877.54 s
[safe-coloured-text-gen] else
1877.54 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1877.54 s
[safe-coloured-text-gen] then anyChar >> go acc True
1877.54 s
[safe-coloured-text-gen] - else pure (acc, hasIntermediate)
1877.54 s
[safe-coloured-text-gen] + else pure (acc, True)
1877.54 s
[safe-coloured-text-gen]
1877.54 s
[safe-coloured-text-gen] -- | Convert a stream of 'AnsiToken's into styled 'Chunk's.
1877.54 s
[safe-coloured-text-gen] --
1877.54 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:124:8-24
1877.54 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1877.55 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.55 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.55 s
[safe-coloured-text-gen] pure $
1877.55 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] + if not finalByte == 'm' && not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] then SgrSequence params
1877.55 s
[safe-coloured-text-gen] else OtherCsiSequence
1877.55 s
[safe-coloured-text-gen]
1877.55 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:124:32-52
1877.55 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1877.55 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.55 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.55 s
[safe-coloured-text-gen] pure $
1877.55 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] + if finalByte == 'm' && not not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] then SgrSequence params
1877.55 s
[safe-coloured-text-gen] else OtherCsiSequence
1877.55 s
[safe-coloured-text-gen]
1877.55 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:124:8-24
1877.55 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1877.55 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.55 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.55 s
[safe-coloured-text-gen] pure $
1877.55 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] + if False && not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] then SgrSequence params
1877.55 s
[safe-coloured-text-gen] else OtherCsiSequence
1877.55 s
[safe-coloured-text-gen]
1877.55 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:124:32-52
1877.55 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1877.55 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.55 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.55 s
[safe-coloured-text-gen] pure $
1877.55 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] + if finalByte == 'm' && not False
1877.55 s
[safe-coloured-text-gen] then SgrSequence params
1877.55 s
[safe-coloured-text-gen] else OtherCsiSequence
1877.55 s
[safe-coloured-text-gen]
1877.55 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:124:28-52
1877.55 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1877.55 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.55 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.55 s
[safe-coloured-text-gen] pure $
1877.55 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] + if finalByte == 'm' && False
1877.55 s
[safe-coloured-text-gen] then SgrSequence params
1877.55 s
[safe-coloured-text-gen] else OtherCsiSequence
1877.55 s
[safe-coloured-text-gen]
1877.55 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:124:28-52
1877.55 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1877.55 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.55 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.55 s
[safe-coloured-text-gen] pure $
1877.55 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] + if finalByte == 'm' && not not hasIntermediateBytes
1877.55 s
[safe-coloured-text-gen] then SgrSequence params
1877.55 s
[safe-coloured-text-gen] else OtherCsiSequence
1877.55 s
[safe-coloured-text-gen]
1877.56 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:124:8-24
1877.56 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1877.56 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.56 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.56 s
[safe-coloured-text-gen] pure $
1877.56 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1877.56 s
[safe-coloured-text-gen] + if True && not hasIntermediateBytes
1877.56 s
[safe-coloured-text-gen] then SgrSequence params
1877.56 s
[safe-coloured-text-gen] else OtherCsiSequence
1877.56 s
[safe-coloured-text-gen]
1877.56 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:124:32-52
1877.56 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1877.56 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1877.56 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1877.56 s
[safe-coloured-text-gen] pure $
1877.56 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1877.56 s
[safe-coloured-text-gen] + if finalByte == 'm' && not True
1899.30 s
[safe-coloured-text-gen] then SgrSequence params
1899.30 s
[safe-coloured-text-gen] else OtherCsiSequence
1899.30 s
[safe-coloured-text-gen]
1899.33 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:147:18-29
1899.33 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1899.33 s
[safe-coloured-text-gen] if c == ';'
1899.33 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1899.33 s
[safe-coloured-text-gen] else
1899.33 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1899.33 s
[safe-coloured-text-gen] + if not c >= '\x20' && c <= '\x2F'
1899.33 s
[safe-coloured-text-gen] then anyChar >> go acc True
1899.33 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1899.33 s
[safe-coloured-text-gen]
1899.33 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:124:28-52
1899.33 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1899.33 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1899.33 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1899.33 s
[safe-coloured-text-gen] pure $
1899.33 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1899.33 s
[safe-coloured-text-gen] + if finalByte == 'm' && True
1899.33 s
[safe-coloured-text-gen] then SgrSequence params
1899.33 s
[safe-coloured-text-gen] else OtherCsiSequence
1899.33 s
[safe-coloured-text-gen]
1899.33 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:147:18-44
1899.34 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1899.34 s
[safe-coloured-text-gen] if c == ';'
1899.34 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1899.34 s
[safe-coloured-text-gen] else
1899.34 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1899.34 s
[safe-coloured-text-gen] + if True
1899.34 s
[safe-coloured-text-gen] then anyChar >> go acc True
1899.34 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1899.34 s
[safe-coloured-text-gen]
1899.34 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:124:8-52
1899.34 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1899.34 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1899.34 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1899.34 s
[safe-coloured-text-gen] pure $
1899.34 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1899.34 s
[safe-coloured-text-gen] + if False
1899.34 s
[safe-coloured-text-gen] then SgrSequence params
1899.34 s
[safe-coloured-text-gen] else OtherCsiSequence
1899.34 s
[safe-coloured-text-gen]
1899.34 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:124:8-52
1899.34 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1899.34 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1899.34 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1899.34 s
[safe-coloured-text-gen] pure $
1899.34 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1899.34 s
[safe-coloured-text-gen] + if not finalByte == 'm' && not hasIntermediateBytes
1899.34 s
[safe-coloured-text-gen] then SgrSequence params
1899.34 s
[safe-coloured-text-gen] else OtherCsiSequence
1899.34 s
[safe-coloured-text-gen]
1899.34 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:115:25-33
1899.34 s
[safe-coloured-text-gen] @@ -112,7 +112,7 @@
1899.34 s
[safe-coloured-text-gen] incompleteEscapeP = do
1899.34 s
[safe-coloured-text-gen] _ <- char '\ESC'
1899.34 s
[safe-coloured-text-gen] mBracket <- (char '[' >> pure True) <|> pure False
1899.34 s
[safe-coloured-text-gen] - pure $ PlainText $ if mBracket then "\ESC[" else "\ESC"
1899.34 s
[safe-coloured-text-gen] + pure $ PlainText $ if True then "\ESC[" else "\ESC"
1899.34 s
[safe-coloured-text-gen]
1899.34 s
[safe-coloured-text-gen] csiSequenceP :: Parser AnsiToken
1899.34 s
[safe-coloured-text-gen] csiSequenceP = do
1899.34 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:115:25-33
1899.34 s
[safe-coloured-text-gen] @@ -112,7 +112,7 @@
1899.34 s
[safe-coloured-text-gen] incompleteEscapeP = do
1899.34 s
[safe-coloured-text-gen] _ <- char '\ESC'
1899.34 s
[safe-coloured-text-gen] mBracket <- (char '[' >> pure True) <|> pure False
1899.34 s
[safe-coloured-text-gen] - pure $ PlainText $ if mBracket then "\ESC[" else "\ESC"
1899.34 s
[safe-coloured-text-gen] + pure $ PlainText $ if not mBracket then "\ESC[" else "\ESC"
1899.34 s
[safe-coloured-text-gen]
1899.34 s
[safe-coloured-text-gen] csiSequenceP :: Parser AnsiToken
1899.34 s
[safe-coloured-text-gen] csiSequenceP = do
1899.35 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:103:46-57
1899.35 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.35 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.35 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> False && c /= '\r')
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] carriageReturnP = do
1899.35 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:103:46-57
1899.35 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.35 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.35 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> True && c /= '\r')
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] carriageReturnP = do
1899.35 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:103:61-70
1899.35 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.35 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.35 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && True)
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] carriageReturnP = do
1899.35 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:103:61-70
1899.35 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.35 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.35 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && False)
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] carriageReturnP = do
1899.35 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:103:61-70
1899.35 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.35 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.35 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && not c /= '\r')
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] carriageReturnP = do
1899.35 s
[safe-coloured-text-gen] Testing mutation BoolLit at src/Text/Colour/Chunk/Parsing.hs:114:33-37
1899.35 s
[safe-coloured-text-gen] @@ -111,7 +111,7 @@
1899.35 s
[safe-coloured-text-gen] incompleteEscapeP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] incompleteEscapeP = do
1899.35 s
[safe-coloured-text-gen] _ <- char '\ESC'
1899.35 s
[safe-coloured-text-gen] - mBracket <- (char '[' >> pure True) <|> pure False
1899.35 s
[safe-coloured-text-gen] + mBracket <- (char '[' >> pure False) <|> pure False
1899.35 s
[safe-coloured-text-gen] pure $ PlainText $ if mBracket then "\ESC[" else "\ESC"
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] csiSequenceP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:103:46-70
1899.35 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.35 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.35 s
[safe-coloured-text-gen]
1899.35 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.35 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.35 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> True)
1899.36 s
[safe-coloured-text-gen]
1899.36 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.36 s
[safe-coloured-text-gen] carriageReturnP = do
1899.36 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:103:46-70
1899.36 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.36 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.36 s
[safe-coloured-text-gen]
1899.36 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.36 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.36 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> False)
1899.36 s
[safe-coloured-text-gen]
1899.36 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.36 s
[safe-coloured-text-gen] carriageReturnP = do
1899.36 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:115:25-33
1899.36 s
[safe-coloured-text-gen] @@ -112,7 +112,7 @@
1899.36 s
[safe-coloured-text-gen] incompleteEscapeP = do
1899.36 s
[safe-coloured-text-gen] _ <- char '\ESC'
1899.36 s
[safe-coloured-text-gen] mBracket <- (char '[' >> pure True) <|> pure False
1899.36 s
[safe-coloured-text-gen] - pure $ PlainText $ if mBracket then "\ESC[" else "\ESC"
1899.36 s
[safe-coloured-text-gen] + pure $ PlainText $ if False then "\ESC[" else "\ESC"
1899.36 s
[safe-coloured-text-gen]
1899.36 s
[safe-coloured-text-gen] csiSequenceP :: Parser AnsiToken
1899.36 s
[safe-coloured-text-gen] csiSequenceP = do
1899.36 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:103:46-70
1899.36 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.36 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.36 s
[safe-coloured-text-gen]
1899.36 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.36 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.36 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> not c /= '\ESC' && c /= '\r')
1899.36 s
[safe-coloured-text-gen]
1899.36 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.36 s
[safe-coloured-text-gen] carriageReturnP = do
1899.36 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:124:8-52
1899.36 s
[safe-coloured-text-gen] @@ -121,7 +121,7 @@
1899.36 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1899.36 s
[safe-coloured-text-gen] finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1899.36 s
[safe-coloured-text-gen] pure $
1899.36 s
[safe-coloured-text-gen] - if finalByte == 'm' && not hasIntermediateBytes
1899.36 s
[safe-coloured-text-gen] + if True
1899.36 s
[safe-coloured-text-gen] then SgrSequence params
1899.36 s
[safe-coloured-text-gen] else OtherCsiSequence
1899.36 s
[safe-coloured-text-gen]
1899.36 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Chunk/Parsing.hs:88:9-28
1899.36 s
[safe-coloured-text-gen] @@ -85,7 +85,7 @@
1899.36 s
[safe-coloured-text-gen] parseAnsiTokensLazy = go
1899.36 s
[safe-coloured-text-gen] where
1899.36 s
[safe-coloured-text-gen] go remaining
1899.36 s
[safe-coloured-text-gen] - | Lazy.null remaining = []
1899.36 s
[safe-coloured-text-gen] + | True = []
1899.36 s
[safe-coloured-text-gen] | otherwise =
1899.37 s
[safe-coloured-text-gen] case AL.parse ansiTokenP remaining of
1899.37 s
[safe-coloured-text-gen] AL.Done rest token -> token : go rest
1899.37 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:103:46-57
1899.37 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1899.37 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1899.37 s
[safe-coloured-text-gen]
1899.37 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1899.37 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1899.37 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> not c /= '\ESC' && c /= '\r')
1899.37 s
[safe-coloured-text-gen]
1899.37 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1899.37 s
[safe-coloured-text-gen] carriageReturnP = do
1899.37 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:90:11-52
1902.40 s
[safe-coloured-text-gen] @@ -87,12 +87,11 @@
1902.40 s
[safe-coloured-text-gen] go remaining
1902.40 s
[safe-coloured-text-gen] | Lazy.null remaining = []
1902.40 s
[safe-coloured-text-gen] | otherwise =
1902.40 s
[safe-coloured-text-gen] case AL.parse ansiTokenP remaining of
1902.40 s
[safe-coloured-text-gen] - AL.Done rest token -> token : go rest
1902.40 s
[safe-coloured-text-gen] AL.Fail _ _ _ ->
1902.40 s
[safe-coloured-text-gen] -- This shouldn't happen since ansiTokenP always succeeds on
1902.40 s
[safe-coloured-text-gen] -- non-empty input (incompleteEscapeP and plainTextP are catch-alls).
1902.40 s
[safe-coloured-text-gen] [PlainText (Lazy.toStrict remaining)]
1902.40 s
[safe-coloured-text-gen]
1902.40 s
[safe-coloured-text-gen] -- | Parse a single ANSI token: a CSI sequence, a bare ESC, a carriage
1902.40 s
[safe-coloured-text-gen] -- return, or plain text.
1902.40 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:78:3-27
1902.40 s
[safe-coloured-text-gen] @@ -75,9 +75,8 @@
1902.40 s
[safe-coloured-text-gen] -- Any incomplete escape sequence at the end of input is emitted as 'PlainText'.
1902.40 s
[safe-coloured-text-gen] parseAnsiTokens :: Text -> [AnsiToken]
1902.40 s
[safe-coloured-text-gen] parseAnsiTokens t =
1902.40 s
[safe-coloured-text-gen] case parseOnly (many' ansiTokenP <* endOfInput) t of
1902.40 s
[safe-coloured-text-gen] - Left _ -> [PlainText t]
1902.40 s
[safe-coloured-text-gen] Right tokens -> tokens
1902.41 s
[safe-coloured-text-gen]
1902.41 s
[safe-coloured-text-gen] -- | Parse lazy 'Lazy.Text' into a list of 'AnsiToken's, produced lazily.
1902.41 s
[safe-coloured-text-gen] -- Tokens are yielded as soon as enough input has been consumed to complete them.
1902.41 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:78:3-27
1902.41 s
[safe-coloured-text-gen] @@ -75,9 +75,8 @@
1902.41 s
[safe-coloured-text-gen] -- Any incomplete escape sequence at the end of input is emitted as 'PlainText'.
1902.41 s
[safe-coloured-text-gen] parseAnsiTokens :: Text -> [AnsiToken]
1902.41 s
[safe-coloured-text-gen] parseAnsiTokens t =
1902.41 s
[safe-coloured-text-gen] case parseOnly (many' ansiTokenP <* endOfInput) t of
1902.41 s
[safe-coloured-text-gen] Left _ -> [PlainText t]
1902.41 s
[safe-coloured-text-gen] - Right tokens -> tokens
1902.41 s
[safe-coloured-text-gen]
1902.41 s
[safe-coloured-text-gen] -- | Parse lazy 'Lazy.Text' into a list of 'AnsiToken's, produced lazily.
1902.41 s
[safe-coloured-text-gen] -- Tokens are yielded as soon as enough input has been consumed to complete them.
1902.41 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Chunk/Parsing.hs:90:11-52
1902.41 s
[safe-coloured-text-gen] @@ -87,12 +87,8 @@
1902.41 s
[safe-coloured-text-gen] go remaining
1902.41 s
[safe-coloured-text-gen] | Lazy.null remaining = []
1902.41 s
[safe-coloured-text-gen] | otherwise =
1902.41 s
[safe-coloured-text-gen] case AL.parse ansiTokenP remaining of
1902.41 s
[safe-coloured-text-gen] AL.Done rest token -> token : go rest
1902.41 s
[safe-coloured-text-gen] - AL.Fail _ _ _ ->
1902.41 s
[safe-coloured-text-gen] - -- This shouldn't happen since ansiTokenP always succeeds on
1902.41 s
[safe-coloured-text-gen] - -- non-empty input (incompleteEscapeP and plainTextP are catch-alls).
1902.41 s
[safe-coloured-text-gen] - [PlainText (Lazy.toStrict remaining)]
1902.41 s
[safe-coloured-text-gen]
1902.41 s
[safe-coloured-text-gen] -- | Parse a single ANSI token: a CSI sequence, a bare ESC, a carriage
1902.41 s
[safe-coloured-text-gen] -- return, or plain text.
1902.41 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:36:25-28
1902.41 s
[safe-coloured-text-gen] @@ -33,7 +33,7 @@
1902.41 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1902.41 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1902.41 s
[safe-coloured-text-gen] Just c
1902.41 s
[safe-coloured-text-gen] - | c > 256 -> With24BitColours
1902.41 s
[safe-coloured-text-gen] + | c > 0 -> With24BitColours
1902.41 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1902.41 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1902.41 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.41 s
[safe-coloured-text-gen] Testing mutation BoolLit at src/Text/Colour/Chunk/Parsing.hs:114:48-53
1902.41 s
[safe-coloured-text-gen] @@ -111,7 +111,7 @@
1902.41 s
[safe-coloured-text-gen] incompleteEscapeP :: Parser AnsiToken
1902.41 s
[safe-coloured-text-gen] incompleteEscapeP = do
1902.41 s
[safe-coloured-text-gen] _ <- char '\ESC'
1902.41 s
[safe-coloured-text-gen] - mBracket <- (char '[' >> pure True) <|> pure False
1902.41 s
[safe-coloured-text-gen] + mBracket <- (char '[' >> pure True) <|> pure True
1902.41 s
[safe-coloured-text-gen] pure $ PlainText $ if mBracket then "\ESC[" else "\ESC"
1902.41 s
[safe-coloured-text-gen]
1902.41 s
[safe-coloured-text-gen] csiSequenceP :: Parser AnsiToken
1902.41 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:36:25-28
1902.41 s
[safe-coloured-text-gen] @@ -33,7 +33,7 @@
1902.41 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1902.41 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1902.41 s
[safe-coloured-text-gen] Just c
1902.41 s
[safe-coloured-text-gen] - | c > 256 -> With24BitColours
1902.41 s
[safe-coloured-text-gen] + | c > 1 -> With24BitColours
1902.41 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1902.42 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.42 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:37:26-29
1902.42 s
[safe-coloured-text-gen] @@ -34,7 +34,7 @@
1902.42 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1902.42 s
[safe-coloured-text-gen] Just c
1902.42 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1902.42 s
[safe-coloured-text-gen] - | c >= 256 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] + | c >= 1 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1902.42 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.42 s
[safe-coloured-text-gen]
1902.42 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Chunk/Parsing.hs:88:9-28
1902.42 s
[safe-coloured-text-gen] @@ -85,7 +85,7 @@
1902.42 s
[safe-coloured-text-gen] parseAnsiTokensLazy = go
1902.42 s
[safe-coloured-text-gen] where
1902.42 s
[safe-coloured-text-gen] go remaining
1902.42 s
[safe-coloured-text-gen] - | Lazy.null remaining = []
1902.42 s
[safe-coloured-text-gen] + | not Lazy.null remaining = []
1902.42 s
[safe-coloured-text-gen] | otherwise =
1902.42 s
[safe-coloured-text-gen] case AL.parse ansiTokenP remaining of
1902.42 s
[safe-coloured-text-gen] AL.Done rest token -> token : go rest
1902.42 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Capabilities/FromEnv.hs:37:21-29
1902.42 s
[safe-coloured-text-gen] @@ -34,7 +34,7 @@
1902.42 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1902.42 s
[safe-coloured-text-gen] Just c
1902.42 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1902.42 s
[safe-coloured-text-gen] - | c >= 256 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] + | True -> With8BitColours
1902.42 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1902.42 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.42 s
[safe-coloured-text-gen]
1902.42 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:38:26-27
1902.42 s
[safe-coloured-text-gen] @@ -35,7 +35,7 @@
1902.42 s
[safe-coloured-text-gen] Just c
1902.42 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1902.42 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] - | c >= 8 -> With8Colours
1902.42 s
[safe-coloured-text-gen] + | c >= 1 -> With8Colours
1902.42 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.42 s
[safe-coloured-text-gen]
1902.42 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1902.42 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Capabilities/FromEnv.hs:37:21-29
1902.42 s
[safe-coloured-text-gen] @@ -34,7 +34,7 @@
1902.42 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1902.42 s
[safe-coloured-text-gen] Just c
1902.42 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1902.42 s
[safe-coloured-text-gen] - | c >= 256 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] + | not c >= 256 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1902.42 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.42 s
[safe-coloured-text-gen]
1902.42 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:37:26-29
1902.42 s
[safe-coloured-text-gen] @@ -34,7 +34,7 @@
1902.42 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1902.42 s
[safe-coloured-text-gen] Just c
1902.42 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1902.42 s
[safe-coloured-text-gen] - | c >= 256 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] + | c >= 0 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1902.42 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.42 s
[safe-coloured-text-gen]
1902.42 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Capabilities/FromEnv.hs:38:21-27
1902.42 s
[safe-coloured-text-gen] @@ -35,7 +35,7 @@
1902.42 s
[safe-coloured-text-gen] Just c
1902.42 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1902.42 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1902.42 s
[safe-coloured-text-gen] - | c >= 8 -> With8Colours
1902.42 s
[safe-coloured-text-gen] + | True -> With8Colours
1902.42 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.43 s
[safe-coloured-text-gen]
1902.43 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1902.43 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Capabilities/FromEnv.hs:33:15-48
1902.43 s
[safe-coloured-text-gen] @@ -30,13 +30,8 @@
1902.43 s
[safe-coloured-text-gen] Just "truecolor" -> With24BitColours
1902.43 s
[safe-coloured-text-gen] Just "24bit" -> With24BitColours
1902.43 s
[safe-coloured-text-gen] _ ->
1902.43 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1902.43 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1902.43 s
[safe-coloured-text-gen] - Just c
1902.43 s
[safe-coloured-text-gen] - | c > 256 -> With24BitColours
1902.43 s
[safe-coloured-text-gen] - | c >= 256 -> With8BitColours
1902.43 s
[safe-coloured-text-gen] - | c >= 8 -> With8Colours
1902.43 s
[safe-coloured-text-gen] - | otherwise -> WithoutColours
1902.43 s
[safe-coloured-text-gen]
1902.43 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1902.43 s
[safe-coloured-text-gen] --
1902.43 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Capabilities/FromEnv.hs:33:15-48
1902.43 s
[safe-coloured-text-gen] @@ -30,13 +30,12 @@
1902.43 s
[safe-coloured-text-gen] Just "truecolor" -> With24BitColours
1902.43 s
[safe-coloured-text-gen] Just "24bit" -> With24BitColours
1902.43 s
[safe-coloured-text-gen] _ ->
1902.43 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1902.43 s
[safe-coloured-text-gen] - Nothing -> WithoutColours
1902.43 s
[safe-coloured-text-gen] Just c
1902.43 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1902.43 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1902.43 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1902.43 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1902.43 s
[safe-coloured-text-gen]
1902.43 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1902.43 s
[safe-coloured-text-gen] --
1902.43 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Capabilities/FromEnv.hs:38:21-27
1902.43 s
[safe-coloured-text-gen] @@ -35,7 +35,7 @@
1902.43 s
[safe-coloured-text-gen] Just c
1902.43 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1902.43 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1902.43 s
[safe-coloured-text-gen] - | c >= 8 -> With8Colours
1971.27 s
[safe-coloured-text-gen] +Killed: 383
1971.27 s
[safe-coloured-text-gen] Survived: 46
1971.29 s
[safe-coloured-text-gen] Uncovered: 33
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] Surviving mutations:
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:78:3-27
1971.29 s
[safe-coloured-text-gen] @@ -75,9 +75,8 @@
1971.29 s
[safe-coloured-text-gen] -- Any incomplete escape sequence at the end of input is emitted as 'PlainText'.
1971.29 s
[safe-coloured-text-gen] parseAnsiTokens :: Text -> [AnsiToken]
1971.29 s
[safe-coloured-text-gen] parseAnsiTokens t =
1971.29 s
[safe-coloured-text-gen] case parseOnly (many' ansiTokenP <* endOfInput) t of
1971.29 s
[safe-coloured-text-gen] - Left _ -> [PlainText t]
1971.29 s
[safe-coloured-text-gen] Right tokens -> tokens
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] -- | Parse lazy 'Lazy.Text' into a list of 'AnsiToken's, produced lazily.
1971.29 s
[safe-coloured-text-gen] -- Tokens are yielded as soon as enough input has been consumed to complete them.
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:90:11-52
1971.29 s
[safe-coloured-text-gen] @@ -87,12 +87,8 @@
1971.29 s
[safe-coloured-text-gen] go remaining
1971.29 s
[safe-coloured-text-gen] | Lazy.null remaining = []
1971.29 s
[safe-coloured-text-gen] | otherwise =
1971.29 s
[safe-coloured-text-gen] case AL.parse ansiTokenP remaining of
1971.29 s
[safe-coloured-text-gen] AL.Done rest token -> token : go rest
1971.29 s
[safe-coloured-text-gen] - AL.Fail _ _ _ ->
1971.29 s
[safe-coloured-text-gen] - -- This shouldn't happen since ansiTokenP always succeeds on
1971.29 s
[safe-coloured-text-gen] - -- non-empty input (incompleteEscapeP and plainTextP are catch-alls).
1971.29 s
[safe-coloured-text-gen] - [PlainText (Lazy.toStrict remaining)]
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] -- | Parse a single ANSI token: a CSI sequence, a bare ESC, a carriage
1971.29 s
[safe-coloured-text-gen] -- return, or plain text.
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:103:61-70
1971.29 s
[safe-coloured-text-gen] @@ -100,7 +100,7 @@
1971.29 s
[safe-coloured-text-gen] ansiTokenP = csiSequenceP <|> incompleteEscapeP <|> carriageReturnP <|> plainTextP
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] plainTextP :: Parser AnsiToken
1971.29 s
[safe-coloured-text-gen] -plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && c /= '\r')
1971.29 s
[safe-coloured-text-gen] +plainTextP = PlainText <$> takeWhile1 (\c -> c /= '\ESC' && True)
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] carriageReturnP :: Parser AnsiToken
1971.29 s
[safe-coloured-text-gen] carriageReturnP = do
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:31-57
1971.29 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1971.29 s
[safe-coloured-text-gen] _ <- char '\ESC'
1971.29 s
[safe-coloured-text-gen] _ <- char '['
1971.29 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1971.29 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1971.29 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> True)
1971.29 s
[safe-coloured-text-gen] pure $
1971.29 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1971.29 s
[safe-coloured-text-gen] then SgrSequence params
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:46-57
1971.29 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1971.29 s
[safe-coloured-text-gen] _ <- char '\ESC'
1971.29 s
[safe-coloured-text-gen] _ <- char '['
1971.29 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1971.29 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1971.29 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> c >= '\x40' && True)
1971.29 s
[safe-coloured-text-gen] pure $
1971.29 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1971.29 s
[safe-coloured-text-gen] then SgrSequence params
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:122:31-42
1971.29 s
[safe-coloured-text-gen] @@ -119,7 +119,7 @@
1971.29 s
[safe-coloured-text-gen] _ <- char '\ESC'
1971.29 s
[safe-coloured-text-gen] _ <- char '['
1971.29 s
[safe-coloured-text-gen] (params, hasIntermediateBytes) <- csiParamsP
1971.29 s
[safe-coloured-text-gen] - finalByte <- satisfy (\c -> c >= '\x40' && c <= '\x7E')
1971.29 s
[safe-coloured-text-gen] + finalByte <- satisfy (\c -> True && c <= '\x7E')
1971.29 s
[safe-coloured-text-gen] pure $
1971.29 s
[safe-coloured-text-gen] if finalByte == 'm' && not hasIntermediateBytes
1971.29 s
[safe-coloured-text-gen] then SgrSequence params
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:147:18-29
1971.29 s
[safe-coloured-text-gen] @@ -144,7 +144,7 @@
1971.29 s
[safe-coloured-text-gen] if c == ';'
1971.29 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1971.29 s
[safe-coloured-text-gen] else
1971.29 s
[safe-coloured-text-gen] - if c >= '\x20' && c <= '\x2F'
1971.29 s
[safe-coloured-text-gen] + if True && c <= '\x2F'
1971.29 s
[safe-coloured-text-gen] then anyChar >> go acc True
1971.29 s
[safe-coloured-text-gen] else pure (acc, hasIntermediate)
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen]
1971.29 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:145:36-51
1971.30 s
[safe-coloured-text-gen] @@ -142,7 +142,7 @@
1971.30 s
[safe-coloured-text-gen] _ -> go acc hasIntermediate
1971.30 s
[safe-coloured-text-gen] else
1971.30 s
[safe-coloured-text-gen] if c == ';'
1971.30 s
[safe-coloured-text-gen] - then anyChar >> go acc hasIntermediate
1971.30 s
[safe-coloured-text-gen] + then anyChar >> go acc False
1971.30 s
[safe-coloured-text-gen] else
1971.30 s
[safe-coloured-text-gen] if c >= '\x20' && c <= '\x2F'
1971.30 s
[safe-coloured-text-gen] then anyChar >> go acc True
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:142:25-40
1971.30 s
[safe-coloured-text-gen] @@ -139,7 +139,7 @@
1971.30 s
[safe-coloured-text-gen] case readMaybe (Text.unpack digits) of
1971.30 s
[safe-coloured-text-gen] Just n
1971.30 s
[safe-coloured-text-gen] | n <= (255 :: Word) -> go (fromIntegral n : acc) hasIntermediate
1971.30 s
[safe-coloured-text-gen] - _ -> go acc hasIntermediate
1971.30 s
[safe-coloured-text-gen] + _ -> go acc False
1971.30 s
[safe-coloured-text-gen] else
1971.30 s
[safe-coloured-text-gen] if c == ';'
1971.30 s
[safe-coloured-text-gen] then anyChar >> go acc hasIntermediate
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:166:27-25
1971.30 s
[safe-coloured-text-gen] @@ -163,20 +163,14 @@
1971.30 s
[safe-coloured-text-gen] where
1971.30 s
[safe-coloured-text-gen] go :: ChunkStyle -> [AnsiToken] -> (ChunkStyle, [Chunk])
1971.30 s
[safe-coloured-text-gen] go s [] = (s, [])
1971.30 s
[safe-coloured-text-gen] go s (token : rest) = case token of
1971.30 s
[safe-coloured-text-gen] PlainText t
1971.30 s
[safe-coloured-text-gen] | Text.null t -> go s rest
1971.30 s
[safe-coloured-text-gen] | otherwise ->
1971.30 s
[safe-coloured-text-gen] let (finalS, restChunks) = go s rest
1971.30 s
[safe-coloured-text-gen] in (finalS, Chunk {chunkText = t, chunkStyle = s} : restChunks)
1971.30 s
[safe-coloured-text-gen] SgrSequence params -> go (applySGRParams s params) rest
1971.30 s
[safe-coloured-text-gen] OtherCsiSequence -> go s rest
1971.30 s
[safe-coloured-text-gen] - CarriageReturn ->
1971.30 s
[safe-coloured-text-gen] - case rest of
1971.30 s
[safe-coloured-text-gen] - (PlainText _ : _) ->
1971.30 s
[safe-coloured-text-gen] - let (finalS, restChunks) = go s rest
1971.30 s
[safe-coloured-text-gen] - in (finalS, Chunk {chunkText = "\n", chunkStyle = s} : restChunks)
1971.30 s
[safe-coloured-text-gen] - _ -> go s rest
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] -- | Parse strict 'Text' containing ANSI escape codes into styled 'Chunk's.
1971.30 s
[safe-coloured-text-gen] --
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:255:7-30
1971.30 s
[safe-coloured-text-gen] @@ -252,8 +252,7 @@
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1971.30 s
[safe-coloured-text-gen] | p >= 100 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] - Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Unknown code, skip
1971.30 s
[safe-coloured-text-gen] | otherwise = goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:254:5-25
1971.30 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1971.30 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] + | True =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:254:17-25
1971.30 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1971.30 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] + | p >= 100 && True =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:254:5-13
1971.30 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1971.30 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] + | True && p <= 107 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:254:10-13
1971.30 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1971.30 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] + | p >= 1 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:254:10-13
1971.30 s
[safe-coloured-text-gen] @@ -251,7 +251,7 @@
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1971.30 s
[safe-coloured-text-gen] - | p >= 100 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] + | p >= 0 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:250:7-30
1971.30 s
[safe-coloured-text-gen] @@ -247,9 +247,8 @@
1971.30 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1971.30 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1971.30 s
[safe-coloured-text-gen] | p >= 90 && p <= 97 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] - Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Bright background colours (100-107)
1971.30 s
[safe-coloured-text-gen] | p >= 100 && p <= 107 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 100) of
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:249:5-12
1971.30 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1971.30 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1971.30 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1971.30 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1971.30 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1971.30 s
[safe-coloured-text-gen] + | True && p <= 97 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:249:10-12
1971.30 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1971.30 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1971.30 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1971.30 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1971.30 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1971.30 s
[safe-coloured-text-gen] + | p >= 1 && p <= 97 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:249:10-12
1971.30 s
[safe-coloured-text-gen] @@ -246,7 +246,7 @@
1971.30 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1971.30 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1971.30 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1971.30 s
[safe-coloured-text-gen] - | p >= 90 && p <= 97 =
1971.30 s
[safe-coloured-text-gen] + | p >= 0 && p <= 97 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 90) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Bright tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:245:10-12
1971.30 s
[safe-coloured-text-gen] @@ -242,7 +242,7 @@
1971.30 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1971.30 s
[safe-coloured-text-gen] _ -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Default background
1971.30 s
[safe-coloured-text-gen] - | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1971.30 s
[safe-coloured-text-gen] + | p == 1 = goSGR (s {chunkStyleBackground = Nothing}) ps
1971.30 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1971.30 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1971.30 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:245:10-12
1971.30 s
[safe-coloured-text-gen] @@ -242,7 +242,7 @@
1971.30 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1971.30 s
[safe-coloured-text-gen] _ -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Default background
1971.30 s
[safe-coloured-text-gen] - | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1971.30 s
[safe-coloured-text-gen] + | p == 0 = goSGR (s {chunkStyleBackground = Nothing}) ps
1971.30 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1971.30 s
[safe-coloured-text-gen] | p == 55 = goSGR (s {chunkStyleOverlined = Just False}) ps
1971.30 s
[safe-coloured-text-gen] -- Bright foreground colours (90-97)
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:240:15-22
1971.30 s
[safe-coloured-text-gen] @@ -237,10 +237,9 @@
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Extended background colour
1971.30 s
[safe-coloured-text-gen] | p == 48 = case ps of
1971.30 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1971.30 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleBackground = Just (Colour24Bit r g b)}) rest
1971.30 s
[safe-coloured-text-gen] - _ -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Default background
1971.30 s
[safe-coloured-text-gen] | p == 49 = goSGR (s {chunkStyleBackground = Nothing}) ps
1971.30 s
[safe-coloured-text-gen] | p == 53 = goSGR (s {chunkStyleOverlined = Just True}) ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:236:7-30
1971.30 s
[safe-coloured-text-gen] @@ -233,9 +233,8 @@
1971.30 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.30 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1971.30 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1971.30 s
[safe-coloured-text-gen] - Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen] -- Extended background colour
1971.30 s
[safe-coloured-text-gen] | p == 48 = case ps of
1971.30 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleBackground = Just (Colour8Bit n)}) rest
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:235:5-12
1971.30 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1971.30 s
[safe-coloured-text-gen] -- Default foreground
1971.30 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.30 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1971.30 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1971.30 s
[safe-coloured-text-gen] + | True && p <= 47 =
1971.30 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1971.30 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1971.30 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.30 s
[safe-coloured-text-gen]
1971.30 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:235:10-12
1971.30 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1971.30 s
[safe-coloured-text-gen] -- Default foreground
1971.31 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1971.31 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1971.31 s
[safe-coloured-text-gen] + | p >= 1 && p <= 47 =
1971.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1971.31 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1971.31 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:235:10-12
1971.31 s
[safe-coloured-text-gen] @@ -232,7 +232,7 @@
1971.31 s
[safe-coloured-text-gen] -- Default foreground
1971.31 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1971.31 s
[safe-coloured-text-gen] - | p >= 40 && p <= 47 =
1971.31 s
[safe-coloured-text-gen] + | p >= 0 && p <= 47 =
1971.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1971.31 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleBackground = Just (Colour8 Dull tc)}) ps
1971.31 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:233:10-12
1971.31 s
[safe-coloured-text-gen] @@ -230,7 +230,7 @@
1971.31 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1971.31 s
[safe-coloured-text-gen] _ -> goSGR s ps
1971.31 s
[safe-coloured-text-gen] -- Default foreground
1971.31 s
[safe-coloured-text-gen] - | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.31 s
[safe-coloured-text-gen] + | p == 1 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1971.31 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1971.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:233:10-12
1971.31 s
[safe-coloured-text-gen] @@ -230,7 +230,7 @@
1971.31 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1971.31 s
[safe-coloured-text-gen] _ -> goSGR s ps
1971.31 s
[safe-coloured-text-gen] -- Default foreground
1971.31 s
[safe-coloured-text-gen] - | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.31 s
[safe-coloured-text-gen] + | p == 0 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1971.31 s
[safe-coloured-text-gen] | p >= 40 && p <= 47 =
1971.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 40) of
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:228:15-22
1971.31 s
[safe-coloured-text-gen] @@ -225,10 +225,9 @@
1971.31 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1971.31 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.31 s
[safe-coloured-text-gen] -- Extended foreground colour
1971.31 s
[safe-coloured-text-gen] | p == 38 = case ps of
1971.31 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleForeground = Just (Colour8Bit n)}) rest
1971.31 s
[safe-coloured-text-gen] 2 : r : g : b : rest -> goSGR (s {chunkStyleForeground = Just (Colour24Bit r g b)}) rest
1971.31 s
[safe-coloured-text-gen] - _ -> goSGR s ps
1971.31 s
[safe-coloured-text-gen] -- Default foreground
1971.31 s
[safe-coloured-text-gen] | p == 39 = goSGR (s {chunkStyleForeground = Nothing}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard background colours (40-47)
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] RemoveCase at src/Text/Colour/Chunk/Parsing.hs:224:7-30
1971.31 s
[safe-coloured-text-gen] @@ -221,9 +221,8 @@
1971.31 s
[safe-coloured-text-gen] | p == 29 = goSGR (s {chunkStyleStrikethrough = Just False}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard foreground colours (30-37)
1971.31 s
[safe-coloured-text-gen] | p >= 30 && p <= 37 =
1971.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 30) of
1971.31 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1971.31 s
[safe-coloured-text-gen] - Nothing -> goSGR s ps
1971.31 s
[safe-coloured-text-gen] -- Extended foreground colour
1971.31 s
[safe-coloured-text-gen] | p == 38 = case ps of
1971.31 s
[safe-coloured-text-gen] 5 : n : rest -> goSGR (s {chunkStyleForeground = Just (Colour8Bit n)}) rest
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk/Parsing.hs:223:5-12
1971.31 s
[safe-coloured-text-gen] @@ -220,7 +220,7 @@
1971.31 s
[safe-coloured-text-gen] | p == 28 = goSGR (s {chunkStyleConcealed = Just False}) ps
1971.31 s
[safe-coloured-text-gen] | p == 29 = goSGR (s {chunkStyleStrikethrough = Just False}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard foreground colours (30-37)
1971.31 s
[safe-coloured-text-gen] - | p >= 30 && p <= 37 =
1971.31 s
[safe-coloured-text-gen] + | True && p <= 37 =
1971.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 30) of
1971.31 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1971.31 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:223:10-12
1971.31 s
[safe-coloured-text-gen] @@ -220,7 +220,7 @@
1971.31 s
[safe-coloured-text-gen] | p == 28 = goSGR (s {chunkStyleConcealed = Just False}) ps
1971.31 s
[safe-coloured-text-gen] | p == 29 = goSGR (s {chunkStyleStrikethrough = Just False}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard foreground colours (30-37)
1971.31 s
[safe-coloured-text-gen] - | p >= 30 && p <= 37 =
1971.31 s
[safe-coloured-text-gen] + | p >= 1 && p <= 37 =
1971.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 30) of
1971.31 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1971.31 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] IntLit at src/Text/Colour/Chunk/Parsing.hs:223:10-12
1971.31 s
[safe-coloured-text-gen] @@ -220,7 +220,7 @@
1971.31 s
[safe-coloured-text-gen] | p == 28 = goSGR (s {chunkStyleConcealed = Just False}) ps
1971.31 s
[safe-coloured-text-gen] | p == 29 = goSGR (s {chunkStyleStrikethrough = Just False}) ps
1971.31 s
[safe-coloured-text-gen] -- Standard foreground colours (30-37)
1971.31 s
[safe-coloured-text-gen] - | p >= 30 && p <= 37 =
1971.31 s
[safe-coloured-text-gen] + | p >= 0 && p <= 37 =
1971.31 s
[safe-coloured-text-gen] case terminalColourFromIndex (p - 30) of
1971.31 s
[safe-coloured-text-gen] Just tc -> goSGR (s {chunkStyleForeground = Just (Colour8 Dull tc)}) ps
1971.31 s
[safe-coloured-text-gen] Nothing -> goSGR s ps
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ListLit at src/Text/Colour/Chunk.hs:62:9-10
1971.31 s
[safe-coloured-text-gen] @@ -59,17 +59,16 @@
1971.31 s
[safe-coloured-text-gen] plainStyle tc ChunkStyle {..} =
1971.31 s
[safe-coloured-text-gen] let ChunkStyle _ _ _ _ _ _ _ _ _ _ = undefined
1971.31 s
[safe-coloured-text-gen] in and
1971.31 s
[safe-coloured-text-gen] [ isNothing chunkStyleItalic,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleStrikethrough,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleSwapForegroundBackground,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConcealed,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleOverlined,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConsoleIntensity,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleUnderlining,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleBlinking,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleForeground,
1971.31 s
[safe-coloured-text-gen] - maybe True (plainColour tc) chunkStyleBackground
1971.31 s
[safe-coloured-text-gen] ]
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] plainChunk :: TerminalCapabilities -> Chunk -> Bool
1971.31 s
[safe-coloured-text-gen] plainChunk tc Chunk {..} =
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ListLit at src/Text/Colour/Chunk.hs:62:9-10
1971.31 s
[safe-coloured-text-gen] @@ -59,17 +59,16 @@
1971.31 s
[safe-coloured-text-gen] plainStyle tc ChunkStyle {..} =
1971.31 s
[safe-coloured-text-gen] let ChunkStyle _ _ _ _ _ _ _ _ _ _ = undefined
1971.31 s
[safe-coloured-text-gen] in and
1971.31 s
[safe-coloured-text-gen] - [ isNothing chunkStyleItalic,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleStrikethrough,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleSwapForegroundBackground,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConcealed,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleOverlined,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConsoleIntensity,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleUnderlining,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleBlinking,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleForeground,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleBackground
1971.31 s
[safe-coloured-text-gen] ]
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] plainChunk :: TerminalCapabilities -> Chunk -> Bool
1971.31 s
[safe-coloured-text-gen] plainChunk tc Chunk {..} =
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:70:11-59
1971.31 s
[safe-coloured-text-gen] @@ -67,7 +67,7 @@
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConsoleIntensity,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleUnderlining,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleBlinking,
1971.31 s
[safe-coloured-text-gen] - maybe True (plainColour tc) chunkStyleForeground,
1971.31 s
[safe-coloured-text-gen] + True,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleBackground
1971.31 s
[safe-coloured-text-gen] ]
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:69:11-39
1971.31 s
[safe-coloured-text-gen] @@ -66,7 +66,7 @@
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleOverlined,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConsoleIntensity,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleUnderlining,
1971.31 s
[safe-coloured-text-gen] - isNothing chunkStyleBlinking,
1971.31 s
[safe-coloured-text-gen] + True,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleForeground,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleBackground
1971.31 s
[safe-coloured-text-gen] ]
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:68:11-42
1971.31 s
[safe-coloured-text-gen] @@ -65,7 +65,7 @@
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConcealed,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleOverlined,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConsoleIntensity,
1971.31 s
[safe-coloured-text-gen] - isNothing chunkStyleUnderlining,
1971.31 s
[safe-coloured-text-gen] + True,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleBlinking,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleForeground,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleBackground
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:67:11-47
1971.31 s
[safe-coloured-text-gen] @@ -64,7 +64,7 @@
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleSwapForegroundBackground,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConcealed,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleOverlined,
1971.31 s
[safe-coloured-text-gen] - isNothing chunkStyleConsoleIntensity,
1971.31 s
[safe-coloured-text-gen] + True,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleUnderlining,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleBlinking,
1971.31 s
[safe-coloured-text-gen] maybe True (plainColour tc) chunkStyleForeground,
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:66:11-40
1971.31 s
[safe-coloured-text-gen] @@ -63,7 +63,7 @@
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleStrikethrough,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleSwapForegroundBackground,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConcealed,
1971.31 s
[safe-coloured-text-gen] - isNothing chunkStyleOverlined,
1971.31 s
[safe-coloured-text-gen] + True,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleConsoleIntensity,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleUnderlining,
1971.31 s
[safe-coloured-text-gen] isNothing chunkStyleBlinking,
1971.31 s
[safe-coloured-text-gen]
1971.31 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:65:11-40
1971.31 s
[safe-coloured-text-gen] @@ -62,7 +62,7 @@
1971.32 s
[safe-coloured-text-gen] [ isNothing chunkStyleItalic,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleStrikethrough,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleSwapForegroundBackground,
1971.32 s
[safe-coloured-text-gen] - isNothing chunkStyleConcealed,
1971.32 s
[safe-coloured-text-gen] + True,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleOverlined,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleConsoleIntensity,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleUnderlining,
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:64:11-55
1971.32 s
[safe-coloured-text-gen] @@ -61,7 +61,7 @@
1971.32 s
[safe-coloured-text-gen] in and
1971.32 s
[safe-coloured-text-gen] [ isNothing chunkStyleItalic,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleStrikethrough,
1971.32 s
[safe-coloured-text-gen] - isNothing chunkStyleSwapForegroundBackground,
1971.32 s
[safe-coloured-text-gen] + True,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleConcealed,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleOverlined,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleConsoleIntensity,
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:63:11-44
1971.32 s
[safe-coloured-text-gen] @@ -60,7 +60,7 @@
1971.32 s
[safe-coloured-text-gen] let ChunkStyle _ _ _ _ _ _ _ _ _ _ = undefined
1971.32 s
[safe-coloured-text-gen] in and
1971.32 s
[safe-coloured-text-gen] [ isNothing chunkStyleItalic,
1971.32 s
[safe-coloured-text-gen] - isNothing chunkStyleStrikethrough,
1971.32 s
[safe-coloured-text-gen] + True,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleSwapForegroundBackground,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleConcealed,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleOverlined,
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:62:11-37
1971.32 s
[safe-coloured-text-gen] @@ -59,7 +59,7 @@
1971.32 s
[safe-coloured-text-gen] plainStyle tc ChunkStyle {..} =
1971.32 s
[safe-coloured-text-gen] let ChunkStyle _ _ _ _ _ _ _ _ _ _ = undefined
1971.32 s
[safe-coloured-text-gen] in and
1971.32 s
[safe-coloured-text-gen] - [ isNothing chunkStyleItalic,
1971.32 s
[safe-coloured-text-gen] + [ True,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleStrikethrough,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleSwapForegroundBackground,
1971.32 s
[safe-coloured-text-gen] isNothing chunkStyleConcealed,
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] ConstBool at src/Text/Colour/Chunk.hs:228:24-33
1971.32 s
[safe-coloured-text-gen] @@ -225,7 +225,7 @@
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] colourSGR :: TerminalCapabilities -> ConsoleLayer -> Colour -> Maybe SGR
1971.32 s
[safe-coloured-text-gen] colourSGR tc layer =
1971.32 s
[safe-coloured-text-gen] - let cap tc' sgr = if tc >= tc' then Just sgr else Nothing
1971.32 s
[safe-coloured-text-gen] + let cap tc' sgr = if True then Just sgr else Nothing
1971.32 s
[safe-coloured-text-gen] in \case
1971.32 s
[safe-coloured-text-gen] Colour8 intensity terminalColour -> cap With8Colours $ SetColour intensity layer terminalColour
1971.32 s
[safe-coloured-text-gen] Colour8Bit w -> cap With8BitColours $ Set8BitColour layer w
1971.32 s
[safe-coloured-text-gen] | not c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1971.32 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:38:26-27
1971.32 s
[safe-coloured-text-gen] @@ -35,7 +35,7 @@
1971.32 s
[safe-coloured-text-gen] Just c
1971.32 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] - | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] + | c >= -8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1971.32 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Capabilities/FromEnv.hs:36:21-28
1971.32 s
[safe-coloured-text-gen] @@ -33,7 +33,7 @@
1971.32 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1971.32 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Just c
1971.32 s
[safe-coloured-text-gen] - | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] + | not c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:37:26-29
1971.32 s
[safe-coloured-text-gen] @@ -34,7 +34,7 @@
1971.32 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Just c
1971.32 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] - | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] + | c >= -256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:38:26-27
1971.32 s
[safe-coloured-text-gen] @@ -35,7 +35,7 @@
1971.32 s
[safe-coloured-text-gen] Just c
1971.32 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] - | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] + | c >= 0 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1971.32 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Capabilities/FromEnv.hs:36:21-28
1971.32 s
[safe-coloured-text-gen] @@ -33,7 +33,7 @@
1971.32 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1971.32 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Just c
1971.32 s
[safe-coloured-text-gen] - | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] + | True -> With24BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Testing mutation IntLit at src/Text/Colour/Capabilities/FromEnv.hs:36:25-28
1971.32 s
[safe-coloured-text-gen] @@ -33,7 +33,7 @@
1971.32 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1971.32 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Just c
1971.32 s
[safe-coloured-text-gen] - | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] + | c > -256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Capabilities/FromEnv.hs:47:6-12
1971.32 s
[safe-coloured-text-gen] @@ -44,6 +44,6 @@
1971.32 s
[safe-coloured-text-gen] getTerminalCapabilitiesFromHandle :: Handle -> IO TerminalCapabilities
1971.32 s
[safe-coloured-text-gen] getTerminalCapabilitiesFromHandle h = do
1971.32 s
[safe-coloured-text-gen] isTerm <- hIsTerminalDevice h
1971.32 s
[safe-coloured-text-gen] - if isTerm
1971.32 s
[safe-coloured-text-gen] + if True
1971.32 s
[safe-coloured-text-gen] then getTerminalCapabilitiesFromEnv
1971.32 s
[safe-coloured-text-gen] else pure WithoutColours
1971.32 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Capabilities/FromEnv.hs:29:18-48
1971.32 s
[safe-coloured-text-gen] @@ -26,17 +26,16 @@
1971.32 s
[safe-coloured-text-gen] -- To support 24-bit colour:
1971.32 s
[safe-coloured-text-gen] -- https://unix.stackexchange.com/questions/450365/check-if-terminal-supports-24-bit-true-color
1971.32 s
[safe-coloured-text-gen] mct <- lookupEnv "COLORTERM"
1971.32 s
[safe-coloured-text-gen] pure $ case mct of
1971.32 s
[safe-coloured-text-gen] - Just "truecolor" -> With24BitColours
1971.32 s
[safe-coloured-text-gen] Just "24bit" -> With24BitColours
1971.32 s
[safe-coloured-text-gen] _ ->
1971.32 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1971.32 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Just c
1971.32 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1971.32 s
[safe-coloured-text-gen] --
1971.32 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Capabilities/FromEnv.hs:29:18-48
1971.32 s
[safe-coloured-text-gen] @@ -26,17 +26,16 @@
1971.32 s
[safe-coloured-text-gen] -- To support 24-bit colour:
1971.32 s
[safe-coloured-text-gen] -- https://unix.stackexchange.com/questions/450365/check-if-terminal-supports-24-bit-true-color
1971.32 s
[safe-coloured-text-gen] mct <- lookupEnv "COLORTERM"
1971.32 s
[safe-coloured-text-gen] pure $ case mct of
1971.32 s
[safe-coloured-text-gen] Just "truecolor" -> With24BitColours
1971.32 s
[safe-coloured-text-gen] - Just "24bit" -> With24BitColours
1971.32 s
[safe-coloured-text-gen] _ ->
1971.32 s
[safe-coloured-text-gen] case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1971.32 s
[safe-coloured-text-gen] Nothing -> WithoutColours
1971.32 s
[safe-coloured-text-gen] Just c
1971.32 s
[safe-coloured-text-gen] | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1971.32 s
[safe-coloured-text-gen] --
1971.32 s
[safe-coloured-text-gen] Testing mutation Negate at src/Text/Colour/Capabilities/FromEnv.hs:47:6-12
1971.32 s
[safe-coloured-text-gen] @@ -44,6 +44,6 @@
1971.32 s
[safe-coloured-text-gen] getTerminalCapabilitiesFromHandle :: Handle -> IO TerminalCapabilities
1971.32 s
[safe-coloured-text-gen] getTerminalCapabilitiesFromHandle h = do
1971.32 s
[safe-coloured-text-gen] isTerm <- hIsTerminalDevice h
1971.32 s
[safe-coloured-text-gen] - if isTerm
1971.32 s
[safe-coloured-text-gen] + if not isTerm
1971.32 s
[safe-coloured-text-gen] then getTerminalCapabilitiesFromEnv
1971.32 s
[safe-coloured-text-gen] else pure WithoutColours
1971.32 s
[safe-coloured-text-gen] Testing mutation ConstBool at src/Text/Colour/Capabilities/FromEnv.hs:47:6-12
1971.32 s
[safe-coloured-text-gen] @@ -44,6 +44,6 @@
1971.32 s
[safe-coloured-text-gen] getTerminalCapabilitiesFromHandle :: Handle -> IO TerminalCapabilities
1971.32 s
[safe-coloured-text-gen] getTerminalCapabilitiesFromHandle h = do
1971.32 s
[safe-coloured-text-gen] isTerm <- hIsTerminalDevice h
1971.32 s
[safe-coloured-text-gen] - if isTerm
1971.32 s
[safe-coloured-text-gen] + if False
1971.32 s
[safe-coloured-text-gen] then getTerminalCapabilitiesFromEnv
1971.32 s
[safe-coloured-text-gen] else pure WithoutColours
1971.32 s
[safe-coloured-text-gen] Testing mutation RemoveCase at src/Text/Colour/Capabilities/FromEnv.hs:29:18-48
1971.32 s
[safe-coloured-text-gen] @@ -26,17 +26,9 @@
1971.32 s
[safe-coloured-text-gen] -- To support 24-bit colour:
1971.32 s
[safe-coloured-text-gen] -- https://unix.stackexchange.com/questions/450365/check-if-terminal-supports-24-bit-true-color
1971.32 s
[safe-coloured-text-gen] mct <- lookupEnv "COLORTERM"
1971.32 s
[safe-coloured-text-gen] pure $ case mct of
1971.32 s
[safe-coloured-text-gen] Just "truecolor" -> With24BitColours
1971.32 s
[safe-coloured-text-gen] Just "24bit" -> With24BitColours
1971.32 s
[safe-coloured-text-gen] - _ ->
1971.32 s
[safe-coloured-text-gen] - case Terminfo.getCapability term (Terminfo.tiGetNum "colors") of
1971.32 s
[safe-coloured-text-gen] - Nothing -> WithoutColours
1971.32 s
[safe-coloured-text-gen] - Just c
1971.32 s
[safe-coloured-text-gen] - | c > 256 -> With24BitColours
1971.32 s
[safe-coloured-text-gen] - | c >= 256 -> With8BitColours
1971.32 s
[safe-coloured-text-gen] - | c >= 8 -> With8Colours
1971.32 s
[safe-coloured-text-gen] - | otherwise -> WithoutColours
1971.32 s
[safe-coloured-text-gen]
1971.32 s
[safe-coloured-text-gen] -- | Try to detect how many colours a given handle can handle.
1971.32 s
[safe-coloured-text-gen] --
1972.02 s
[safe-coloured-text-gen] checkPhase completed in 28 minutes 54 seconds
1972.02 s
[safe-coloured-text-gen] Phase: haddockPhase
1972.16 s
[safe-coloured-text-gen] Preprocessing library for safe-coloured-text-gen-0.0.0.5...
1972.16 s
[safe-coloured-text-gen] Running Haddock on library for safe-coloured-text-gen-0.0.0.5...
1972.16 s
[safe-coloured-text-gen] Warning: The documentation for the following packages are not installed. No
1972.16 s
[safe-coloured-text-gen] links will be generated to these packages: safe-coloured-text-0.5.0.0
1972.35 s
[safe-coloured-text-gen] [1 of 2] Compiling Paths_safe_coloured_text_gen ( dist/build/autogen/Paths_safe_coloured_text_gen.hs, nothing )
1972.38 s
[safe-coloured-text-gen] [2 of 2] Compiling Text.Colour.Gen ( src/Text/Colour/Gen.hs, nothing )
1972.48 s
[safe-coloured-text-gen] Haddock coverage:
1972.48 s
[safe-coloured-text-gen] 0% ( 0 / 1) in 'Text.Colour.Gen'
1972.48 s
[safe-coloured-text-gen] Missing documentation for:
1972.48 s
[safe-coloured-text-gen] Module header
1972.54 s
[safe-coloured-text-gen] Warning: Text.Colour.Gen: could not find link destinations for:
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Chunk.Chunk
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Chunk.ChunkStyle
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Chunk.Colour
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Code.Blinking
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Code.CSI
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Code.ColourIntensity
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Code.ConsoleIntensity
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Code.ConsoleLayer
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Code.SGR
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Code.TerminalColour
1972.54 s
[safe-coloured-text-gen] - Text.Colour.Code.Underlining
1976.00 s
[safe-coloured-text-gen] Documentation created: dist/doc/html/safe-coloured-text-gen/,
1976.00 s
[safe-coloured-text-gen] dist/doc/html/safe-coloured-text-gen/safe-coloured-text-gen.txt
1976.05 s
[safe-coloured-text-gen] Preprocessing test suite 'safe-coloured-text-test' for safe-coloured-text-gen-0.0.0.5...
1976.06 s
[safe-coloured-text-gen] Phase: installPhase
1976.17 s
[safe-coloured-text-gen] Installing library in /nix/store/k78brdx5dc4dq2nikjid6aszvy1g7w9j-safe-coloured-text-gen-0.0.0.5/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/safe-coloured-text-gen-0.0.0.5-GqYG0S9NpbAKEdEqIS0gtZ
1976.40 s
[safe-coloured-text-gen] Phase: fixupPhase
1976.42 s
[safe-coloured-text-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/k78brdx5dc4dq2nikjid6aszvy1g7w9j-safe-coloured-text-gen-0.0.0.5
1976.51 s
[safe-coloured-text-gen] shrinking /nix/store/k78brdx5dc4dq2nikjid6aszvy1g7w9j-safe-coloured-text-gen-0.0.0.5/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/libHSsafe-coloured-text-gen-0.0.0.5-GqYG0S9NpbAKEdEqIS0gtZ-ghc9.10.3.so
1976.51 s
[safe-coloured-text-gen] checking for references to /build/ in /nix/store/k78brdx5dc4dq2nikjid6aszvy1g7w9j-safe-coloured-text-gen-0.0.0.5...
1976.51 s
[safe-coloured-text-gen] patching script interpreter paths in /nix/store/k78brdx5dc4dq2nikjid6aszvy1g7w9j-safe-coloured-text-gen-0.0.0.5
1976.51 s
[safe-coloured-text-gen] stripping (with command strip and flags -S -p) in /nix/store/k78brdx5dc4dq2nikjid6aszvy1g7w9j-safe-coloured-text-gen-0.0.0.5/lib
1976.51 s
[safe-coloured-text-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/b6ly0bmr6zkzxsjy58iy6asx229wry45-safe-coloured-text-gen-0.0.0.5-doc
1976.51 s
[safe-coloured-text-gen] checking for references to /build/ in /nix/store/b6ly0bmr6zkzxsjy58iy6asx229wry45-safe-coloured-text-gen-0.0.0.5-doc...
1976.51 s
[safe-coloured-text-gen] patching script interpreter paths in /nix/store/b6ly0bmr6zkzxsjy58iy6asx229wry45-safe-coloured-text-gen-0.0.0.5-doc
1976.52 s
[safe-coloured-text-gen] shrinking RPATHs of ELF executables and libraries in /nix/store/zjwq74yd2qmz1f21a7s36x25g0q9q2qd-safe-coloured-text-gen-0.0.0.5-report
1976.55 s
[safe-coloured-text-gen] checking for references to /build/ in /nix/store/zjwq74yd2qmz1f21a7s36x25g0q9q2qd-safe-coloured-text-gen-0.0.0.5-report...
1976.59 s
[safe-coloured-text-gen] patching script interpreter paths in /nix/store/zjwq74yd2qmz1f21a7s36x25g0q9q2qd-safe-coloured-text-gen-0.0.0.5-report
1976.70 s
Progress: 26 of 27 built