Permalink
Browse files

100% haddock coverage

  • Loading branch information...
1 parent e3f3074 commit f4f714c5b82503fd6cdbf498d31d8dff225b0ac4 @ekmett committed Aug 18, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/Language/Haskell/TH/Lens.hs
@@ -114,6 +114,7 @@ instance SubstType Pred where
substType m (ClassP n ts) = ClassP n (substType m ts)
substType m (EqualP l r) = substType m (EqualP l r)
+-- | Provides a 'Traversal' of the types of each field of a constructor.
conFields :: Simple Traversal Con StrictType
conFields f (NormalC n tys) = NormalC n <$> traverse f tys
conFields f (RecC n tys) = RecC n <$> traverse sans_var tys

0 comments on commit f4f714c

Please sign in to comment.