Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added section headers to haddocks

  • Loading branch information...
commit 5806adc8c5c480659daa1012e7b90debd80eb223 1 parent b69ebf5
@ekmett authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/System/IO/Error/Lens.hs
View
6 src/System/IO/Error/Lens.hs
@@ -20,6 +20,8 @@ import GHC.IO.Exception
import System.IO
import Foreign.C.Types
+-- * IOException Lenses
+
-- | Where the error happened.
--
-- @
@@ -84,4 +86,8 @@ errorType :: (AsIOException (->) f t, Functor f) => LensLike' f t IOErrorType
errorType f = _IOException $ \s -> f (ioe_type s) <&> \e -> s { ioe_type = e }
{-# INLINE errorType #-}
+-- * IOErrorType Prisms
+--
+-- (These prisms are generated automatically)
+
makePrisms ''IOErrorType
Please sign in to comment.
Something went wrong with that request. Please try again.