possible fix

svn: r11396
This commit is contained in:
Robby Findler 2008-08-23 02:56:37 +00:00
parent a79b0a4d10
commit b987dc265d

View File

@ -338,11 +338,11 @@ scheme
[withdraw (->d ([acc account?]
[amt (and/c amount (<=/c (balance acc)))])
()
[result (mk-account-contract acc amt > msg>)])]
[result (mk-account-contract acc amt >= msg>)])]
[deposit (->d ([acc account?]
[amt amount])
()
[result (mk-account-contract acc amt < msg<)])])
[result (mk-account-contract acc amt <= msg<)])])
(code:comment "section 3: the function definitions")
(define balance account-balance)