summaryrefslogtreecommitdiff
path: root/lore/Alpha.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lore/Alpha.hs')
-rw-r--r--lore/Alpha.hs18
1 files changed, 18 insertions, 0 deletions
diff --git a/lore/Alpha.hs b/lore/Alpha.hs
new file mode 100644
index 0000000..b126241
--- /dev/null
+++ b/lore/Alpha.hs
@@ -0,0 +1,18 @@
+{-# LANGUAGE NoImplicitPrelude #-}
+module Alpha (
+ -- * General functions
+ (/@)
+ -- * Debugging tools
+ , say
+ ) where
+
+import Protolude
+import Data.String
+
+-- | Debugging printf
+say :: String -> IO ()
+say msg = putStrLn msg
+
+-- | Alias for map, fmap, <$>
+(/@) :: Functor f => (a -> b) -> f a -> f b
+(/@) = Protolude.fmap