mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 18:26:36 +00:00
ICML writer: fix missing type signature warning
This commit is contained in:
@@ -483,9 +483,10 @@ mergeStrings opts = mergeStrings' . map spaceToStr
|
||||
WrapPreserve -> Str "\n"
|
||||
_ -> Str " "
|
||||
spaceToStr x = x
|
||||
mergeStrings' (Str x : Str y : zs) = mergeStrings' (Str (x ++ y) : zs)
|
||||
mergeStrings' (x : xs) = x : mergeStrings' xs
|
||||
mergeStrings' [] = []
|
||||
|
||||
mergeStrings' (Str x : Str y : zs) = mergeStrings' (Str (x ++ y) : zs)
|
||||
mergeStrings' (x : xs) = x : mergeStrings' xs
|
||||
mergeStrings' [] = []
|
||||
|
||||
-- | Intersperse line breaks
|
||||
intersperseBrs :: [Doc] -> Doc
|
||||
|
||||
Reference in New Issue
Block a user