summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-12-06 12:18:16 -0500
committerBen Sima <ben@bsima.me>2020-12-06 12:22:33 -0500
commit9a3eaceb2982f4342bc2b944d3919276c7670221 (patch)
tree0e8dfea4fb740acac595df8af35d637ec6c9a49a
parentdee8c3aafb41d984bc69274ed320272ee7ee2bbf (diff)
Add missing type signature
-rw-r--r--Alpha.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Alpha.hs b/Alpha.hs
index 5e41649..5d53f71 100644
--- a/Alpha.hs
+++ b/Alpha.hs
@@ -120,6 +120,7 @@ capitalize :: String -> String
capitalize [] = []
capitalize str = (Char.toUpper <| List.head str) : (Char.toLower </ List.tail str)
+lowercase :: String -> String
lowercase str = [Char.toLower c | c <- str]
require :: Text -> Maybe a -> a