Define Utils module
Dumping grounds for personal, stylistic functions intended to improve readabily and writability (in that order).
This commit is contained in:
parent
a7ddb56b9b
commit
9dcbd0d067
1 changed files with 8 additions and 0 deletions
8
website/sandbox/learnpianochords/src/server/Utils.hs
Normal file
8
website/sandbox/learnpianochords/src/server/Utils.hs
Normal file
|
@ -0,0 +1,8 @@
|
|||
--------------------------------------------------------------------------------
|
||||
module Utils where
|
||||
--------------------------------------------------------------------------------
|
||||
import Data.Function ((&))
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
(|>) :: a -> (a -> b) -> b
|
||||
(|>) = (&)
|
Loading…
Reference in a new issue