X-Git-Url: http://gitweb.michael.orlitzky.com/?p=dead%2Fhalcyon.git;a=blobdiff_plain;f=src%2FStringUtils.hs;h=52b1def19cfc02acde93a24cbf25b5949d4297dd;hp=f9d7dfc9cf8ae4b08c05f8f9dbd21ec52fac1230;hb=cf0e5470657c80d2e4db116b309e8ca35b4136ad;hpb=9b6d95a82745ced2a58d9bc4ded555ee36b36673 diff --git a/src/StringUtils.hs b/src/StringUtils.hs index f9d7dfc..52b1def 100644 --- a/src/StringUtils.hs +++ b/src/StringUtils.hs @@ -13,8 +13,8 @@ import Test.HUnit -- 3. etc. -- listify :: [String] -> [String] -listify items = - zipWith (++) list_numbers items +listify = + zipWith (++) list_numbers where list_numbers = map show_with_dot [1::Integer ..] show_with_dot x = (show x) ++ ". "