[racket] unwrapping a list

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Mon Jun 11 15:30:49 EDT 2012

(apply (lambda (year month day)
          (printf "Year: ~S Month: ~S Day: ~S\n"
                  year
                  month
                  day))
        (regexp-split #rx"/" "2012/06/06"))

Neil V.


Posted on the users mailing list.