diff options
Diffstat (limited to 'Alpha.hs')
-rw-r--r-- | Alpha.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -213,6 +213,7 @@ capitalize str = (Char.toUpper <| List.head str) : (Char.toLower </ List.tail st lowercase :: String -> String lowercase str = [Char.toLower c | c <- str] +{-# WARNING require "'require' remains in code" #-} require :: Text -> Maybe a -> a require _ (Just x) = x require s Nothing = panic <| s <> " not found" |