Skip to content

Instantly share code, notes, and snippets.

@mgsloan
Created March 12, 2018 07:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgsloan/bec603328664ea7d20075fdddefad5a0 to your computer and use it in GitHub Desktop.
Save mgsloan/bec603328664ea7d20075fdddefad5a0 to your computer and use it in GitHub Desktop.
diff --git a/src/RIO.hs b/src/RIO.hs
index e4e2c66..e071714 100644
--- a/src/RIO.hs
+++ b/src/RIO.hs
@@ -1,3 +1,4 @@
+-- | This mo
module RIO
( module RIO.Prelude.Display
, module RIO.Prelude.Extra
diff --git a/src/RIO/Prelude/Reexports.hs b/src/RIO/Prelude/Reexports.hs
index c1fd0b3..f0e6013 100644
--- a/src/RIO/Prelude/Reexports.hs
+++ b/src/RIO/Prelude/Reexports.hs
@@ -3,6 +3,9 @@ module RIO.Prelude.Reexports
( module UnliftIO
-- List imports from UnliftIO?
, UnliftIO.Concurrent.threadDelay
+
+ -- * "Control.Applicative" re-exports
+
, Control.Applicative.Alternative
, Control.Applicative.Applicative (..)
, Control.Applicative.liftA
@@ -14,13 +17,26 @@ module RIO.Prelude.Reexports
, Control.Applicative.optional
, Control.Applicative.some
, (Control.Applicative.<|>)
+
+ -- * "Control.Arrow" re-exports
+
+ -- | While arrows can be useful in other circumstances, usually these
+ -- operations are just used with ordinary functions. In other words,
+ -- using the @Arrow (->)@ instance to work with tuples.
+
, Control.Arrow.first
, Control.Arrow.second
, (Control.Arrow.&&&)
, (Control.Arrow.***)
+
+ -- * "Control.DeepSeq" re-exports
+
, Control.DeepSeq.NFData(..)
, Control.DeepSeq.force
, (Control.DeepSeq.$!!)
+
+ -- * "Control.Monad" re-exports
+
, Control.Monad.Monad(..)
, Control.Monad.MonadPlus(..)
, Control.Monad.filterM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment