euler-0.1.0.0
Euler.Problems.Problem19
data Date Source #
Constructors
Fields
Anno Domini
1 (january) to 12 (december)
1 to 31
1 (money) to 7 (sunday)
datesFrom1900 :: [Date] Source #
All dates starting from Jan 1, 1900.
answer :: Integer Source #
The number of Sundays that fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000).