comp.lang.ada
 help / color / mirror / Atom feed
From: tomw@tsys.demon.co.uk (Tom Wheeley)
Subject: Money wanted
Date: 1996/12/31
Date: 1996-12-31T00:00:00+00:00	[thread overview]
Message-ID: <20139@tsys.demon.co.uk> (raw)


On Monday, in article <32C84480.62CE@netright.com>
     david_nospam@netright.com "David Hanley" wrote:

> fun earnings() = UsefulSkills;
> fun getMoney(x,needed) = if x < needed 
>                             then getMoney( x + earnings() , needed ) 
>                             else x;

(define won-lottery? #f)
(define find-job? #f
(define bank-balance 0)
(define (discover x) x)

(define (buy item)
    (if (eq? item 'lottery-ticket)
        (sequence
            (set! bank-balance (- bank-balance 1))
            'one-pound-please-sir
        )
        'not-in-stock-sir
    )
)

(define (make-money)
    (buy 'lottery-ticket)
    (if won-lottery?
        10000000
        (sequence
            (learn new-skill)
            (if (find-job?)
                (sequence
                    (set! bank-balance (+ bank-balance 10))
                    'youre-fired)
                )
                (sign-on dole)
            )
            (discover 'new-skill-worthless)
            (make-money)
        )
    )
)

:sb)   please send mail to <tw104@york.ac.uk>   http://www.york.ac.uk/~tw104/
--
First, the church was powerful. But it became corrupt and was overthrown.
Then monarchs became powerful. But they became corrupt and were overthrown. 
Now businesses are powerful. So what do we do with Bill Gates?
[ncohen@netcom.com]





             reply	other threads:[~1996-12-31  0:00 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-31  0:00 Tom Wheeley [this message]
1996-12-31  0:00 ` Money wanted Andi Jahja
  -- strict thread matches above, loose matches on Subject: below --
1996-12-24  0:00 Welcome to FINANCIAL INDEPENDENCE! CoG
1996-12-25  0:00 ` Michael Nelson
     [not found]   ` <32c1bb07.1770350@news.2sprint.net>
1996-12-25  0:00     ` Money wanted Dan
1996-12-26  0:00       ` Jay Bratcher
1996-12-26  0:00       ` Jim Smith
1996-12-28  0:00         ` simple
1996-12-30  0:00         ` Mike Rovak
1996-12-31  0:00           ` marduk
1997-01-04  0:00             ` Tim Lorge
1997-01-04  0:00               ` Peter van der Linden
1996-12-26  0:00       ` Jason Wallace
1996-12-26  0:00       ` Deric Cheng
1996-12-26  0:00         ` Don Cannell
1996-12-27  0:00         ` Dennis Janssen
1996-12-28  0:00           ` Don Read
1996-12-28  0:00           ` ld50macca
1996-12-29  0:00           ` Deric Cheng
1996-12-31  0:00             ` Peter Green
1997-01-01  0:00               ` x
1997-01-01  0:00                 ` x
1996-12-29  0:00           ` Dileep Krishna
1996-12-29  0:00           ` ld50macca
1996-12-26  0:00       ` Brandir
1996-12-27  0:00       ` Claude Bergeron
1996-12-27  0:00         ` Randy Kramer
1996-12-27  0:00         ` JeffMo
1996-12-28  0:00         ` Peter Clark
1996-12-27  0:00       ` JBLi
1996-12-28  0:00       ` Remco Onderwater
1996-12-29  0:00         ` Hassnain Waheed
1997-01-15  0:00         ` George Wood
1996-12-29  0:00       ` chiiywiiiy
1996-12-29  0:00       ` Jim
1996-12-30  0:00         ` Colin Johnson
1996-12-30  0:00       ` timolmst
1996-12-31  0:00         ` Oleg Belopolsky
1997-01-03  0:00           ` marcus
1997-01-02  0:00         ` Kyle R. Hofmann
1997-01-07  0:00       ` Josh Blackwell
1996-12-29  0:00   ` dennis.glatting
1996-12-29  0:00 ` Peter Cooper
1996-12-31  0:00   ` Jim Neil
1996-12-30  0:00 ` David Hanley
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox