possible fix
svn: r11396
This commit is contained in:
parent
a79b0a4d10
commit
b987dc265d
|
@ -338,11 +338,11 @@ scheme
|
||||||
[withdraw (->d ([acc account?]
|
[withdraw (->d ([acc account?]
|
||||||
[amt (and/c amount (<=/c (balance acc)))])
|
[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?]
|
[deposit (->d ([acc account?]
|
||||||
[amt amount])
|
[amt amount])
|
||||||
()
|
()
|
||||||
[result (mk-account-contract acc amt < msg<)])])
|
[result (mk-account-contract acc amt <= msg<)])])
|
||||||
|
|
||||||
(code:comment "section 3: the function definitions")
|
(code:comment "section 3: the function definitions")
|
||||||
(define balance account-balance)
|
(define balance account-balance)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user