Permalink
Browse files

added section headers to haddocks

  • Loading branch information...
ekmett committed Jan 21, 2013
1 parent b69ebf5 commit 5806adc8c5c480659daa1012e7b90debd80eb223
Showing with 6 additions and 0 deletions.
  1. +6 −0 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

0 comments on commit 5806adc

Please sign in to comment.