changeset 6:ed2906578cd6

goodbye stephanie. I will miss you :(
author Robert McIntyre <rlm@mit.edu>
date Mon, 17 Sep 2012 21:14:32 -0400
parents 66396e76dab9
children 68ce1f2eb7a6
files org/steph.org
diffstat 1 files changed, 23 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/org/steph.org	Mon Sep 17 21:14:32 2012 -0400
     1.3 @@ -0,0 +1,23 @@
     1.4 +#+title: Gooodbye
     1.5 +#+author: Robert McIntyre
     1.6 +#+email: rlm@mit.edu
     1.7 +#+setupfile: ../../aurellem/org/setup.org
     1.8 +#+include: ../../aurellem/org/level-0.org
     1.9 +
    1.10 +
    1.11 +#+begin_src clojure :results output :exports both
    1.12 +(def steph-birth (DateMidnight. 1990 12 2))
    1.13 +
    1.14 +(def steph-death (DateMidnight. 2012 7 26))
    1.15 +
    1.16 +(def life (Interval. steph-birth steph-death))
    1.17 +
    1.18 +(printf
    1.19 + "%d days."
    1.20 + (.getStandardDays (.toDuration life)))
    1.21 +#+end_src
    1.22 +
    1.23 +#+results:
    1.24 +: 7906 days.
    1.25 +
    1.26 +