-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- get the current Git head of haskell-tensorflow - adjust dependencies
- Loading branch information
1 parent
d59d157
commit 53cfd1d
Showing
5 changed files
with
247 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
pkgs/development/haskell-modules/patches/proto-lens-0.2.2.0.patch
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
pkgs/development/haskell-modules/patches/proto-lens-0.5.1.0.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/src/Data/ProtoLens/Encoding/Parser/Internal.hs b/src/Data/ProtoLens/Encoding/Parser/Internal.hs | ||
index 30eeaad..f2703e7 100644 | ||
--- a/src/Data/ProtoLens/Encoding/Parser/Internal.hs | ||
+++ b/src/Data/ProtoLens/Encoding/Parser/Internal.hs | ||
@@ -1,4 +1,5 @@ | ||
{-# LANGUAGE LambdaCase #-} | ||
+{-# LANGUAGE CPP #-} | ||
-- | Definition of the parsing monad, plus internal | ||
-- unsafe functions. | ||
module Data.ProtoLens.Encoding.Parser.Internal | ||
@@ -36,8 +37,11 @@ instance Applicative Parser where | ||
(<*>) = ap | ||
|
||
instance Monad Parser where | ||
- fail s = Parser $ \_ _ -> return $ ParseFailure s | ||
return = pure | ||
Parser f >>= g = Parser $ \end pos -> f end pos >>= \case | ||
ParseSuccess pos' x -> unParser (g x) end pos' | ||
ParseFailure s -> return $ ParseFailure s | ||
+#if MIN_VERSION_base(4,13,0) | ||
+instance MonadFail Parser where | ||
+#endif | ||
+ fail s = Parser $ \_ _ -> return $ ParseFailure s |
51 changes: 0 additions & 51 deletions
51
pkgs/development/haskell-modules/patches/proto-lens-protoc-0.2.2.3.patch
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.