Skip to content

Commit

Permalink
fix error in library code #371
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Aug 11, 2024
1 parent cf33f5f commit b4aa654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/R7RS.scm
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@

Create new empty library object with empty namespace."
(let* ((parent (. (current-environment) '__parent__))
(lib (let ((lib (--> parent (get name &(:throwError false)))))
(lib (let ((lib (--> parent (get name &(:throwError #f)))))
(if (null? lib)
(new %Library name)
lib)))
Expand Down

0 comments on commit b4aa654

Please sign in to comment.