All pastes #771756 Raw Edit

Someone

public text v1 · immutable
·published 2007-11-13 06:10 UTC
rendered paste body
(define new-withdraw
  (let ((balance 100))
    (lambda (amount)
      (if (>= balance amount)
          (begin (set! balance (- balance amount))
                 balance)
          "Insufficient funds"))))