Generalize period lookups.
This commit is contained in:
parent
51b3b6f5b7
commit
e9745bc64a
2 changed files with 17 additions and 17 deletions
|
@ -51,13 +51,10 @@
|
|||
members-base
|
||||
period)
|
||||
|
||||
;; Specifications of fees, regular and student must be in all
|
||||
(define member-fees-lookup-source
|
||||
'(((2010 1) #f 500 250)))
|
||||
|
||||
;; Convert into lookups - a list of (list period regular student)
|
||||
(define member-fees-lookup-table
|
||||
(make-period-lookup-table member-fees-lookup-source))
|
||||
(make-period-lookup-table
|
||||
'(((2010 1) 500 250))))
|
||||
|
||||
;; Returns a matching list of (list regular student)
|
||||
(define (lookup-member-fees)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue