packages feed

syntax-pretty 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+2/−2 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Data/Syntax/Pretty.hs view
@@ -35,7 +35,7 @@     simap ai (Printer f) = Printer (apply ai >=> f)  instance SemiIsoApply Printer where-    sipure _ = Printer (\_ -> Right mempty)+    sipure ai = Printer (\a -> either Left (\_ -> Right mempty) (apply ai a))     (Printer f) /*/ (Printer g) = Printer (\(a, b) -> (<>) <$> f a <*> g b)  instance SemiIsoAlternative Printer where
syntax-pretty.cabal view
@@ -1,5 +1,5 @@ name:                syntax-pretty-version:             0.1.0.0+version:             0.1.0.1 synopsis:            Syntax instance for pretty, the pretty printing library. license:             MIT license-file:        LICENSE