2015/12/05

SICP 問題 3.44

(define (transfer from-account to-account amount)
  ((from-account 'withdraw) amount)
  ((to-account 'deposit) amount))

交換と違い,残高の差を計算する必要がないので問題はおきない


© 2022 wat-aro