Advertisement
Guest User

Untitled

a guest
Dec 16th, 2016
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (reduce #(let[[d g]%2 p(cons g %)](doseq[l(cons d p)](println l))(newline)(if % p(list(apply str"and "g))))nil(map vector(map #(format"On the %s day of Christmas my true love gave to me"%)'(first second third fourth fifth sixth seventh eighth ninth tenth eleventh twelfth))["a partridge in a pear tree""two turtle doves""three french hens""four calling birds""five golden rings""six geese a-laying""seven swans a-swimming""eight maids a-milking""nine ladies dancing""ten lords a-leaping""eleven pipers piping""twelve drummers drumming"]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement