ICML writer: fix missing type signature warning
This commit is contained in:
1 parent
5f030f3c2c
commit
62a5f6fa85
1 file changed
+4
-3
@@ -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