diff options
Diffstat (limited to 'src/VeriFuzz/Internal.hs')
-rw-r--r-- | src/VeriFuzz/Internal.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/VeriFuzz/Internal.hs b/src/VeriFuzz/Internal.hs index 51bb52c..22efa92 100644 --- a/src/VeriFuzz/Internal.hs +++ b/src/VeriFuzz/Internal.hs @@ -15,6 +15,7 @@ module VeriFuzz.Internal safe , showT , comma + , commaNL ) where @@ -33,3 +34,7 @@ showT = T.pack . show -- | Inserts commas between '[Text]' and except the last one. comma :: [Text] -> Text comma = T.intercalate ", " + +-- | Inserts commas and newlines between '[Text]' and except the last one. +commaNL :: [Text] -> Text +commaNL = T.intercalate ",\n" |