lib-dup.scm 288 B

1234567891011121314
  1. (define-library (lib2)
  2. (import (scheme base))
  3. (export twice)
  4. (begin
  5. (define (twice n)
  6. (* n 2))))
  7. (define-library (lib2)
  8. (import (scheme base))
  9. (export thrice)
  10. (begin
  11. (define (thrice n)
  12. (* n 3))))
  13. ;; Diagnostic: lib-dup.scm:7:1: duplicate library name lib2