aboutsummaryrefslogtreecommitdiffstats
path: root/src/Data/Monoid/Extra.hs
blob: e484cf06554f8662d39c007c0f7aabffa59bbee6 (plain)
1
2
3
4
5
6
module Data.Monoid.Extra where


mintercalate :: Monoid b => b -> [b] -> b
mintercalate c (h:t) = foldl (\acc x -> acc <> c <> x) h t
mintercalate _ [] = mempty
[cgit] Unable to lock slot /tmp/cgit/6b000000.lock: No such file or directory (2)