diff --git a/CHANGES b/CHANGES
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+3.1.8
+
+- Fix a regression from 3.1.6 related to exports from the main module.
+
 3.1.7
 
 - Fix a regression from 3.1.6 related to the reported position of error messages.
diff --git a/Text/Parsec.hs b/Text/Parsec.hs
--- a/Text/Parsec.hs
+++ b/Text/Parsec.hs
@@ -93,12 +93,12 @@
     , getParserState
     , setParserState
     , updateParserState
-    , Stream
+    , Stream (..)
     , runParsecT
     , mkPT
-    , Consumed
-    , Reply
-    , State
+    , Consumed (..)
+    , Reply (..)
+    , State (..)
     , setPosition
     , setInput
      -- * Other stuff
diff --git a/parsec.cabal b/parsec.cabal
--- a/parsec.cabal
+++ b/parsec.cabal
@@ -1,5 +1,5 @@
 name:		parsec
-version:	3.1.7
+version:	3.1.8
 cabal-version: >= 1.8
 license:	BSD3
 license-file:	LICENSE
