Safe Haskell | Safe |
---|
A program for printing a calendar year
Documentation
rjustify :: Int -> String -> String Source #
'rjustify n xs' right-justifies its String argument
xs
inside a box of width n
.
groupsOfSize :: Int -> [a] -> [[a]] Source #
'groupsOfSize n xs' splits the list xs
into segments
of length n
(the last one may be shorter).
daysOfMonth :: Month -> Year -> [Picture] Source #
A list of pictures of days of a given month in a given year.
month :: Month -> Year -> Picture Source #
A picture containing all days of a given month in a given year.
monthPic :: Year -> Month -> Picture Source #
A picture of all days of a given month in a given year with weekday header.