Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (12 sloc) 436 Bytes
module Y2017.M05.D05.Exercise where
import Data.Time.Calendar
import Data.Time.Calendar.WeekDate
{--
Happy Cinco de Mayo, Haskellers!
Check the lock-screen of my iPad (screen shot at this directory) is says
TUESDAY, May 5th.
So, what is the most recent year where Cinco de Mayo was on a Tuesday?
... and how would you go about finding this solution?
--}
mostRecentYear5MayTuesday :: Integer
mostRecentYear5MayTuesday = undefined