diff options
Diffstat (limited to 'security/hs-cryptol/files/patch-src_Cryptol_Parser_NoPat.hs')
-rw-r--r-- | security/hs-cryptol/files/patch-src_Cryptol_Parser_NoPat.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/security/hs-cryptol/files/patch-src_Cryptol_Parser_NoPat.hs b/security/hs-cryptol/files/patch-src_Cryptol_Parser_NoPat.hs new file mode 100644 index 000000000000..0079d982ce34 --- /dev/null +++ b/security/hs-cryptol/files/patch-src_Cryptol_Parser_NoPat.hs @@ -0,0 +1,10 @@ +--- src/Cryptol/Parser/NoPat.hs.orig 2001-09-09 01:46:40 UTC ++++ src/Cryptol/Parser/NoPat.hs +@@ -542,7 +542,6 @@ instance Functor NoPatM where fmap = liftM + instance Applicative NoPatM where pure = return; (<*>) = ap + instance Monad NoPatM where + return x = M (return x) +- fail x = M (fail x) + M x >>= k = M (x >>= unM . k) + + |