aboutsummaryrefslogtreecommitdiff
path: root/hypsrc-test/src
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-08-16 12:41:47 +1000
committerYuchen Pei <hi@ypei.me>2022-08-16 12:41:47 +1000
commit9c7202515e216826d10854a4c95c050b97551066 (patch)
treed46f4e258c523fdf857a274220658bd84ff22925 /hypsrc-test/src
parent4a2ad11155014bcf13a7dbd7f6b9e2c530ac3b79 (diff)
parent4248704596d01753c9a776ebedf5cc598a883e28 (diff)
Merge remote-tracking branch 'upstream/main'
Diffstat (limited to 'hypsrc-test/src')
-rw-r--r--hypsrc-test/src/Operators.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/hypsrc-test/src/Operators.hs b/hypsrc-test/src/Operators.hs
index 1dcb8856..82c4da04 100644
--- a/hypsrc-test/src/Operators.hs
+++ b/hypsrc-test/src/Operators.hs
@@ -1,7 +1,6 @@
{-# LANGUAGE Haskell2010 #-}
module Operators where
-
(+++) :: [a] -> [a] -> [a]
a +++ b = a ++ b ++ a
@@ -18,6 +17,5 @@ a */\* b = concatMap (*** b) a
(**/\**) :: [[a]] -> [[a]] -> [[a]]
a **/\** b = zipWith (*/\*) [a +++ b] (a $$$ b)
-
(#.#) :: a -> b -> (c -> (a, b))
-a #.# b = const $ (a, b)
+a #.# b = const (a, b)