Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
getInterval :: Calendar -> TimePeriod Source #
goToNode :: TimePeriod -> Calendar -> Maybe CalendarZipper Source #
intervalFitsCalendar :: TimePeriod -> Calendar -> Bool Source #
checkQuantAvailability :: TimePeriod -> Int -> Set Text -> CalendarZipper -> Bool Source #
checkReservAvailability :: Reservation -> Set Text -> CalendarZipper -> Bool Source #
updateCalendar :: [TimePeriod] -> Set Text -> Calendar -> (Set Text -> Set Text -> Maybe (Set Text)) -> Maybe Calendar Source #
topMostNodes :: TimePeriod -> Calendar -> Maybe [CalendarZipper] Source #
leftMostTopNode :: TimePeriod -> Calendar -> Maybe CalendarZipper Source #
rightMostTopNode :: TimePeriod -> Calendar -> Maybe CalendarZipper Source #