packages feed

pandoc-lens 0.4.1 → 0.5

raw patch · 2 files changed

+10/−10 lines, 2 filesdep ~basedep ~lensdep ~pandoc-types

Dependency ranges changed: base, lens, pandoc-types

Files

Text/Pandoc/Lens.hs view
@@ -297,17 +297,17 @@  -- | A prism on a 'Link' 'Inline' _Link :: Prism' Inline ([Inline], Target)-_Link = prism' (uncurry Link) f+_Link = prism' (uncurry $ Link nullAttr) f   where-    f (Link a b) = Just (a, b)-    f _          = Nothing+    f (Link _ a b) = Just (a, b)+    f _            = Nothing  -- | A prism on a 'Image' 'Inline' _Image :: Prism' Inline ([Inline], Target)-_Image = prism' (uncurry Image) f+_Image = prism' (uncurry $ Image nullAttr) f   where-    f (Image a b) = Just (a, b)-    f _           = Nothing+    f (Image _ a b) = Just (a, b)+    f _             = Nothing  -- | A prism on a 'Note' 'Inline' _Note :: Prism' Inline [Block]
pandoc-lens.cabal view
@@ -1,5 +1,5 @@ name:                pandoc-lens-version:             0.4.1+version:             0.5 synopsis:            Lenses for Pandoc documents description:         Lenses for Pandoc documents homepage:            http://github.com/bgamari/pandoc-lens@@ -19,8 +19,8 @@ library   exposed-modules:     Text.Pandoc.Lens   ghc-options:         -Wall -fno-warn-orphans-  build-depends:       base >=4.7 && <4.9,+  build-depends:       base >=4.7 && <4.10,                        containers >=0.5 && <0.6,-                       pandoc-types >=1.12 && <1.13,-                       lens >=4.2 && <4.20+                       pandoc-types >=1.16 && <1.17,+                       lens >=4.2 && <4.14   default-language:    Haskell2010