git.iko.soy/typeable/pandoc
on master help sign in
ICML writer: fix missing type signature warning
commit62a5f6fa85fcaa0067cf66a2c573e4fc678aab96 authorAlbert Krewinkel <albert@zeitkraut.de> dateWed 7 Nov 2018, 09:52 (8 years ago) parent5f030f3
1 file changed+4−3
src/Text/Pandoc/Writers/ICML.hs+4−3
src/Text/Pandoc/Writers/ICML.hs+4−3
@@ -483,9 +483,10 @@ mergeStrings opts = mergeStrings' . map spaceToStr
483483 WrapPreserve -> Str "\n"
484484 _ -> Str " "
485485 spaceToStr x = x
486−mergeStrings' (Str x : Str y : zs) = mergeStrings' (Str (x ++ y) : zs)
487−mergeStrings' (x : xs) = x : mergeStrings' xs
488−mergeStrings' [] = []
486+
487+ mergeStrings' (Str x : Str y : zs) = mergeStrings' (Str (x ++ y) : zs)
488+ mergeStrings' (x : xs) = x : mergeStrings' xs
489+ mergeStrings' [] = []
489490
490491-- | Intersperse line breaks
491492intersperseBrs :: [Doc] -> Doc