Skip to content

Instantly share code, notes, and snippets.

@apropos-cast
Last active April 25, 2019 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save apropos-cast/a8b7ef4ad0e9cba04dd5039d5f4181f6 to your computer and use it in GitHub Desktop.
Save apropos-cast/a8b7ef4ad0e9cba04dd5039d5f4181f6 to your computer and use it in GitHub Desktop.
29 - Apropos Clojure Show Notes

Show URL: https://www.youtube.com/watch?v=jMIcbahVHQs

Date: April 25, 2019

Show Notes

Topics

RIP Joe Armstrong

Clojure/north

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