summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/IO.hs-boot
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-11-03 16:12:18 -0600
committerAustin Seipp <austin@well-typed.com>2015-11-03 16:15:24 -0600
commitb62605e53c167719b3bf8842eba628061cf22dd1 (patch)
treed1faf7b01bac2130ae1214b78e31e313912348fe /libraries/base/GHC/IO.hs-boot
parent8c80dcc166e4a083086d8b240d84563d0c4c4c50 (diff)
downloadhaskell-b62605e53c167719b3bf8842eba628061cf22dd1.tar.gz
Add `MonadPlus IO` and `Alternative IO` instances
This requires adding a new primitive `mplusIO` to `GHC.IO` Update transformers submodule to accomodate extant orphan instances. Reviewed By: austin, bgamari Differential Revision: https://phabricator.haskell.org/D1148 GHC Trac Issues: #10755
Diffstat (limited to 'libraries/base/GHC/IO.hs-boot')
-rw-r--r--libraries/base/GHC/IO.hs-boot2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/IO.hs-boot b/libraries/base/GHC/IO.hs-boot
index fb0dd963b3..88b09aafb0 100644
--- a/libraries/base/GHC/IO.hs-boot
+++ b/libraries/base/GHC/IO.hs-boot
@@ -6,4 +6,4 @@ module GHC.IO where
import GHC.Types
failIO :: [Char] -> IO a
-
+mplusIO :: IO a -> IO a -> IO a