Skip to content

Instantly share code, notes, and snippets.

Last active April 25, 2019 20:09
What would you like to do?
29 - Apropos Clojure Show Notes

Show URL:

Date: April 25, 2019

Show Notes


RIP Joe Armstrong


April 19-20, 2019

Toronto, Canada

How was it, Mike?

Condition Systems

Clojure Contrib

At the Repl

Five weekends (from Rosetta Code)

The month of October in 2010 has five Fridays, five Saturdays, and five Sundays.

  1. Write a program to show all months that have this same characteristic of five full weekends from the year 1900 through 2100 (Gregorian calendar).
  2. Show the number of months with this property (there should be 201).
  3. Show at least the first and last five dates, in order.

Feel free to comment to submit your own solutions to the REPL!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment