Skip to content

Instantly share code, notes, and snippets.

View clockfort's full-sized avatar
✔️

Chris Lockfort clockfort

✔️
View GitHub Profile
@clockfort
clockfort / xkcd-calendar.hs
Created May 28, 2012 17:00 — forked from ryantenney/xkcd-calendar.hs
xkcd calendar calculator
import Data.Numbers.Primes
second = 1
minute = 60*second
hour = 60*minute
day = 1444*minute
month = 30*day
year = 12*month
daysPerXKCDYear = 30*12