diff options
-rw-r--r-- | Alpha.hs | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -55,6 +55,9 @@ module Alpha capitalize, lowercase, + -- * Lists + list, + -- * Data Validation require, @@ -69,7 +72,11 @@ import Data.String import Data.Text (Text) import qualified Data.Text as Text import qualified Data.Text.Lazy as LazyText -import Protolude as X hiding (($), (&), (.)) +import Protolude as X hiding (list, ($), (&), (.)) + +-- | Create a list. This should be @Data.List.singleton@ but that doesn't exist. +list :: a -> [a] +list a = [a] -- | Debugging printf say :: Text -> IO () |