@@ -172,7 +172,7 @@ inlines = L.many inline2 <* PS.eof
172172 → String
173173 → P.Parser String (SD.Inline a )
174174 emphasis p f s = do
175- PS .string s
175+ _ ← PS .string s
176176 f <$> PC .manyTill p (PS .string s)
177177
178178 emph ∷ P.Parser String (SD.Inline a ) → P.Parser String (SD.Inline a )
@@ -230,7 +230,7 @@ inlines = L.many inline2 <* PS.eof
230230
231231 autolink ∷ P.Parser String (SD.Inline a )
232232 autolink = do
233- PS .string " <"
233+ _ ← PS .string " <"
234234 url ← (S .fromCharArray <<< A .fromFoldable) <$> (PS .anyChar `PC.many1Till` PS .string " >" )
235235 pure $ SD.Link (L .singleton $ SD.Str (autoLabel url)) (SD.InlineLink url)
236236 where
@@ -241,7 +241,7 @@ inlines = L.many inline2 <* PS.eof
241241
242242 entity ∷ P.Parser String (SD.Inline a )
243243 entity = do
244- PS .string " &"
244+ _ ← PS .string " &"
245245 s ← (S .fromCharArray <<< A .fromFoldable) <$> (PS .noneOf (S .toCharArray " ;" ) `PC.many1Till` PS .string " ;" )
246246 pure $ SD.Entity $ " &" <> s <> " ;"
247247
@@ -254,7 +254,7 @@ inlines = L.many inline2 <* PS.eof
254254 required
255255 fe ← do
256256 PU .skipSpaces
257- PS .string " ="
257+ _ ← PS .string " ="
258258 PU .skipSpaces
259259 formElement
260260 pure $ map (SD.FormField l r) fe
@@ -288,7 +288,7 @@ inlines = L.many inline2 <* PS.eof
288288 case mdef of
289289 M.Just def → do
290290 PU .skipSpaces
291- PS .string " )"
291+ _ ← PS .string " )"
292292 pure $ Right $ SD.TextBox $ SD .transTextBox (M.Just >>> Compose ) def
293293 M.Nothing →
294294 pure $ Left case template of
@@ -319,21 +319,21 @@ inlines = L.many inline2 <* PS.eof
319319
320320 where
321321 parseDateTimeTemplate prec = do
322- parseDateTemplate
322+ _ ← parseDateTemplate
323323 PU .skipSpaces
324324 parseTimeTemplate prec
325325
326326 parseDateTemplate = do
327- und
327+ _ ← und
328328 PU .skipSpaces *> dash *> PU .skipSpaces
329- und
329+ _ ← und
330330 PU .skipSpaces *> dash *> PU .skipSpaces
331331 und
332332
333333 parseTimeTemplate prec = do
334- und
334+ _ ← und
335335 PU .skipSpaces *> colon *> PU .skipSpaces
336- und
336+ _ ← und
337337 when (prec == SD.Seconds ) do
338338 PU .skipSpaces *> colon *> PU .skipSpaces
339339 void und
@@ -535,6 +535,6 @@ expr f p =
535535
536536unevaluated ∷ ∀ b . P.Parser String (SD.Expr b )
537537unevaluated = do
538- PS .string " !"
538+ _ ← PS .string " !"
539539 ticks ← someOf (\x → S .singleton x == " `" )
540540 SD.Unevaluated <<< S .fromCharArray <<< A .fromFoldable <$> PC .manyTill PS .anyChar (PS .string ticks)
0 commit comments