| Portability | portable |
|---|---|
| Stability | unstable |
| Maintainer | nvd124@gmail.com |
| Safe Haskell | Safe-Infered |
Data.FamilyTree
Description
This module is for Family Trees. It's got lenses, which are pretty cool. I would use Data.Binary to do saving and loading.
Better description coming soon!
Documentation
Constructors
| Person | |
Constructors
| Family | |
Fields
| |
data Relationship Source
Instances
newTree :: Text -> FamilyTreeSource
personLens :: ID -> Lens FamilyTree PersonSource
familyLens :: ID -> Lens FamilyTree FamilySource
addPerson :: FamilyTree -> (FamilyTree, ID)Source
addFamily :: FamilyTree -> (FamilyTree, ID)Source
addEvent :: FamilyTree -> (FamilyTree, ID)Source
deletePerson :: ID -> FamilyTree -> FamilyTreeSource
deleteFamily :: ID -> FamilyTree -> FamilyTreeSource
deleteEvent :: ID -> FamilyTree -> FamilyTreeSource