aboutsummaryrefslogtreecommitdiff
path: root/src/executable/haskell/Utils/Either.hs
diff options
context:
space:
mode:
authorJoris2018-06-19 22:49:16 +0200
committerJoris2018-06-19 22:49:16 +0200
commit149a0470b73781022e584aaeaa7ce871d6f4173b (patch)
treec1cc762e105ae19e7f3daaa3e9279a467dbaa3dc /src/executable/haskell/Utils/Either.hs
parent5d921c9a2b0a7a8f1a1bb5642cbefa516cbbe4cc (diff)
downloadad-listener-149a0470b73781022e584aaeaa7ce871d6f4173b.tar.gz
ad-listener-149a0470b73781022e584aaeaa7ce871d6f4173b.tar.bz2
ad-listener-149a0470b73781022e584aaeaa7ce871d6f4173b.zip
Add automatic tests on remote pages
Diffstat (limited to 'src/executable/haskell/Utils/Either.hs')
-rw-r--r--src/executable/haskell/Utils/Either.hs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/executable/haskell/Utils/Either.hs b/src/executable/haskell/Utils/Either.hs
deleted file mode 100644
index 5d62dcc..0000000
--- a/src/executable/haskell/Utils/Either.hs
+++ /dev/null
@@ -1,7 +0,0 @@
-module Utils.Either
- ( mapLeft
- ) where
-
-mapLeft :: (a -> c) -> Either a b -> Either c b
-mapLeft f (Left l) = Left (f l)
-mapLeft _ (Right r) = (Right r)