Here is a example in r7rs-draft-9.pdf:
(define-library (example life)
(export life)
(import (except (scheme base) set!)
(scheme write)
(example grid))
(begin
(define (life-count grid i j)
...)
...))
why not:
(define-library (example life)
(export life)
(import (except (scheme base) set!)
(scheme write)
(example grid))
(define (life-count grid i j)
...)
...)
The second one (which is more r6rs-alike) looks less verbose, isn't it?
Can anyone please tell me why the first one is preferred, thank you very much!