diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-05T20·51+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-05T20·51+0100 |
commit | 1af0007a7d5db3350a55aef8e3c9ac0ec994b6e1 (patch) | |
tree | e7aef7d2cab3481ccd8c11866e169a487b9bbc59 /scratch | |
parent | 40753e9f3b2df9f620c588d1d385b5ddfb9bd1bc (diff) |
Create a Utils module
To stylize things...
Diffstat (limited to 'scratch')
-rw-r--r-- | scratch/brilliant/Utils.hs | 8 |
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 +(|>) = (&) |