diff options
| author | Tom Smeding <tom@tomsmeding.com> | 2026-07-20 11:10:57 +0200 |
|---|---|---|
| committer | Tom Smeding <tom@tomsmeding.com> | 2026-07-20 11:10:57 +0200 |
| commit | a3588a15c8dc8b4c96f0986a4e0344a5f6a3120e (patch) | |
| tree | 7d3a3d37e3b4a5da069ee2ff4234b6600f7eb615 /src | |
| parent | 9f52bec00561d7d481b79a38fa02586626b4b5cd (diff) | |
Silence unused-variable warning in TH-generated code
Diffstat (limited to 'src')
| -rw-r--r-- | src/Pages/TH.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Pages/TH.hs b/src/Pages/TH.hs index 2061c9a..2967761 100644 --- a/src/Pages/TH.hs +++ b/src/Pages/TH.hs @@ -156,7 +156,7 @@ renderNodes dats buf (node : nodes) = do `appE` pure (expensive buf) `appE` pure e Just (VQMaybe dm, e) -> do - xvar <- newName "x" + xvar <- newName "_x" -- tends to be unused in {{#sec}} {{.}} {{/sec}} situations, so suppress the warning makeDuplicable buf $ \buf' -> caseE (pure e) [match (conP 'Nothing []) (normalB (pure buf')) [] |
