focus 1.0.1 → 1.0.1.1
raw patch · 2 files changed
+6/−2 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- focus.cabal +1/−1
- library/Focus.hs +5/−1
focus.cabal view
@@ -1,7 +1,7 @@ name: focus version:- 1.0.1+ 1.0.1.1 synopsis: A general abstraction for manipulating elements of container data structures description:
library/Focus.hs view
@@ -46,7 +46,11 @@ The interpretation of the commands is up to the context APIs. -}-data Change a = Leave | Remove | Set a deriving (Functor, Eq, Ord, Show)+data Change a =+ Leave {-^ Produce no changes -} |+ Remove {-^ Delete it -} |+ Set a {-^ Replace it with the provided value -}+ deriving (Functor, Eq, Ord, Show) -- * Pure functions