penny-lib-0.12.0.0: Extensible double-entry accounting system - library

Safe HaskellSafe-Inferred

Penny.Lincoln.Family.Siblings

Synopsis

Documentation

data Siblings a Source

Describes the siblings of a family, but tells you nothing about the parent. There are always at least two Siblings.

Constructors

Siblings 

Fields

first :: a
 
second :: a
 
rest :: [a]
 

collapse :: Siblings (NonEmpty a) -> Siblings aSource

Change a Siblings of NonEmpty lists to a Siblings. The original order of the elements contained in the Siblings and within the NonEmpty lists is preserved.