about summary refs log tree commit diff
path: root/users/wpcarro/assessments/tt/src/Utils.hs
blob: 48c33af0796ddcd8ef9ec0d620977058d883272f (plain) (blame)
1
2
3
4
5
6
7
8
9
--------------------------------------------------------------------------------
module Utils where
--------------------------------------------------------------------------------
import Data.Function ((&))
--------------------------------------------------------------------------------

-- | Prefer this operator to the ampersand for stylistic reasons.
(|>) :: a -> (a -> b) -> b
(|>) = (&)