library/define-library creates a library even it contains an loading time error
Issue #45
new
Following is valid on REPL
(define-library (foo) (begin (f)))
(import (foo))
The first define-library expression raises an error during loading however second import accept it because it's already created during compilation time.
This can be a problem only on REPL but it's confusing.