family-tree 0.3.1.3 → 0.3.1.4
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~lensPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: lens
API changes (from Hackage documentation)
Files
- family-tree.cabal +2/−2
- src/Data/FamilyTree.hs +1/−1
family-tree.cabal view
@@ -10,7 +10,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.3.1.3+version: 0.3.1.4 package-url: https://github.com/Taneb/family-tree @@ -59,7 +59,7 @@ -- Other library packages from which modules are imported. build-depends: base >= 4.3 && < 5,- lens >= 3.8 && < 3.9,+ lens >= 3.8 && < 3.10, binary < 0.7, unordered-containers ==0.2.*, containers >=0.4.2 && < 0.6,
src/Data/FamilyTree.hs view
@@ -384,7 +384,7 @@ IS.foldr (\i -> events . ix i . eventAttendees %~ IS.insert n) ( people . ix n .~ newPerson $ familyTree) --- | Constructs a lens for the manipulation of a family in a family tree, from+-- | Constructs a 'Traversal' for the manipulation of a family in a family tree, from -- that family's ID. traverseFamily :: FamilyID -> IndexedTraversal' FamilyID FamilyTree Family traverseFamily (FamilyID n) f familyTree = case familyTree ^. families . at n of