summaryrefslogtreecommitdiff
path: root/src/Data/InOrOut.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/InOrOut.hs')
-rw-r--r--src/Data/InOrOut.hs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/Data/InOrOut.hs b/src/Data/InOrOut.hs
deleted file mode 100644
index 2c14a0f9..00000000
--- a/src/Data/InOrOut.hs
+++ /dev/null
@@ -1,13 +0,0 @@
1module Data.InOrOut where
2
3
4-- | This wrapper is useful for tagging another type
5-- as being of either an In variety or an Out variety.
6--
7-- For example, incoming messages can be tagged as In
8-- and outgoing messages could be tagged as Out.
9--
10-- Another use case is tagging handles so that
11-- you only output to Out Handle and only input
12-- from In Handle.
13data InOrOut a = In a | Out a