summaryrefslogtreecommitdiff
path: root/src/Transfer/ErrM.hs
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-06-26 21:05:50 +0000
committeraarne <aarne@cs.chalmers.se>2008-06-26 21:05:50 +0000
commita1da4b7c4808b3da1a0dba5a85b5e35134d9222c (patch)
treee4210dc3161ffa1114ad77431458a7a4b1529956 /src/Transfer/ErrM.hs
parentfb1d9b7d2c3c8261fc5a2ce3698e6749458b207a (diff)
removed Transfer interpreter
Diffstat (limited to 'src/Transfer/ErrM.hs')
-rw-r--r--src/Transfer/ErrM.hs16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Transfer/ErrM.hs b/src/Transfer/ErrM.hs
deleted file mode 100644
index 1f3c566fd..000000000
--- a/src/Transfer/ErrM.hs
+++ /dev/null
@@ -1,16 +0,0 @@
--- BNF Converter: Error Monad
--- Copyright (C) 2004 Author: Aarne Ranta
-
--- This file comes with NO WARRANTY and may be used FOR ANY PURPOSE.
-module Transfer.ErrM where
-
--- the Error monad: like Maybe type with error msgs
-
-data Err a = Ok a | Bad String
- deriving (Read, Show, Eq)
-
-instance Monad Err where
- return = Ok
- fail = Bad
- Ok a >>= f = f a
- Bad s >>= f = Bad s