about summary refs log tree commit diff
path: root/scratch/brilliant/Utils.hs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-05T20·51+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-05T20·51+0100
commit1af0007a7d5db3350a55aef8e3c9ac0ec994b6e1 (patch)
treee7aef7d2cab3481ccd8c11866e169a487b9bbc59 /scratch/brilliant/Utils.hs
parent40753e9f3b2df9f620c588d1d385b5ddfb9bd1bc (diff)
Create a Utils module
To stylize things...
Diffstat (limited to 'scratch/brilliant/Utils.hs')
-rw-r--r--scratch/brilliant/Utils.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/scratch/brilliant/Utils.hs b/scratch/brilliant/Utils.hs
new file mode 100644
index 000000000000..2f401af2fb8f
--- /dev/null
+++ b/scratch/brilliant/Utils.hs
@@ -0,0 +1,8 @@
+--------------------------------------------------------------------------------
+module Utils where
+--------------------------------------------------------------------------------
+import Data.Function ((&))
+--------------------------------------------------------------------------------
+
+(|>) :: a -> (a -> b) -> b
+(|>) = (&)