diff options
author | Yann Herklotz <git@ymhg.org> | 2019-04-09 12:38:15 +0100 |
---|---|---|
committer | Yann Herklotz <git@ymhg.org> | 2019-04-09 12:38:15 +0100 |
commit | d350cd339797c6dd9056afa2b1dad5aed4c31cb9 (patch) | |
tree | 868474f18dfedc05d347cf16d09b5e770bc33293 /src/VeriFuzz/Internal.hs | |
parent | 7653f8fd33162b8b166a12e125c988663ec2fe79 (diff) | |
download | verismith-d350cd339797c6dd9056afa2b1dad5aed4c31cb9.tar.gz verismith-d350cd339797c6dd9056afa2b1dad5aed4c31cb9.zip |
Add Parameter type and remove Description
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" |