summaryrefslogtreecommitdiff
path: root/lore/Alpha.hs
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-03-27 12:50:33 -0700
committerBen Sima <ben@bsima.me>2019-03-27 13:04:48 -0700
commit3f0471b314fa2792207b3116aa7491f5f353b31e (patch)
tree49f2a4b5767429c888291784d94fcd35057abeff /lore/Alpha.hs
parent7032c4125a8f3aaa96ca32f2181f68fa6409790c (diff)
notes and stuff
Diffstat (limited to 'lore/Alpha.hs')
-rw-r--r--lore/Alpha.hs9
1 files changed, 6 insertions, 3 deletions
diff --git a/lore/Alpha.hs b/lore/Alpha.hs
index b126241..67bfa35 100644
--- a/lore/Alpha.hs
+++ b/lore/Alpha.hs
@@ -1,12 +1,15 @@
{-# LANGUAGE NoImplicitPrelude #-}
+-- | Commonly useful functions, a Prelude replacement.
module Alpha (
+ -- * Re-export Protolude
+ module X
-- * General functions
- (/@)
+ , (/@)
-- * Debugging tools
, say
) where
-import Protolude
+import Protolude as X
import Data.String
-- | Debugging printf
@@ -15,4 +18,4 @@ say msg = putStrLn msg
-- | Alias for map, fmap, <$>
(/@) :: Functor f => (a -> b) -> f a -> f b
-(/@) = Protolude.fmap
+(/@) = fmap