summaryrefslogtreecommitdiff
path: root/lore/Alpha.hs
blob: b12624122de20a65e9e430147a5581f1b7889835 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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