diff options
Diffstat (limited to 'assessments/tt/src/Utils.hs')
-rw-r--r-- | assessments/tt/src/Utils.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/assessments/tt/src/Utils.hs b/assessments/tt/src/Utils.hs new file mode 100644 index 000000000000..48c33af0796d --- /dev/null +++ b/assessments/tt/src/Utils.hs @@ -0,0 +1,9 @@ +-------------------------------------------------------------------------------- +module Utils where +-------------------------------------------------------------------------------- +import Data.Function ((&)) +-------------------------------------------------------------------------------- + +-- | Prefer this operator to the ampersand for stylistic reasons. +(|>) :: a -> (a -> b) -> b +(|>) = (&) |