git.iko.soy/typeable/xml-lens
on master help sign in
deprecate entire
commit78ef5e0e0b6e254d0d18125cb5938f1e3a102d1c authorFumiaki Kinoshita <fumiexcel@gmail.com> dateSat 5 Oct 2019, 21:28 (7 years ago) parent4837f58
1 file changed+1
Text/XML/Lens.hs+1
Text/XML/Lens.hs+1
@@ -153,6 +153,7 @@ attribute n = attrs . at n
153153entire :: Traversal' Element Element
154154entire f e@(Element _ _ ns) = com <$> f e <*> traverse (_Element (entire f)) ns where
155155 com (Element n a _) = Element n a
156+{-# DEPRECATED entire "Use cosmos or deep instead" #-}
156157
157158-- | Traverse elements which has the specified *local* name (case-insensitive).
158159named :: CI.CI Text -> Traversal' Element Element