diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-06-04 11:54:58 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-06-04 11:54:58 +0200 |
commit | cf30138aad199a010fb6b96accae01d6e25673b5 (patch) | |
tree | ca88bec45efff0aaea965879578edf1e4512b9b6 /modules | |
parent | 84175d65d6fff1adfa360f24af19be77209b05a0 (diff) |
compile: Use const for clarity.
* modules/language/python/compile.scm: Use const instead of lambda
expressions.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/language/python/compile.scm | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/language/python/compile.scm b/modules/language/python/compile.scm index c0513c4..809476c 100644 --- a/modules/language/python/compile.scm +++ b/modules/language/python/compile.scm @@ -216,8 +216,7 @@ empty list." (lambda () (if (not p) (reload-module (resolve-module 'l))) (use-modules-- a ...)) - (lambda x - #f))) + (const #f))) (eval-when (eval load) (catch #t (lambda () @@ -1274,7 +1273,7 @@ empty list." ;; Make sure to load the module in (let ((? (catch #t (lambda () (Module (reverse l) (reverse xl)) #t) - (lambda x #f)))) + (const #f)))) (if (eq? ? #t) (for-each dont-warn (get-exported-symbols l))) `(,(C 'use) ,? ,l ,l)))) @@ -1287,7 +1286,7 @@ empty list." ;; Make sure to load the module in (let ((? (catch #t (lambda () (Module (reverse l) (reverse xl)) #t) - (lambda x #f)))) + (const #f)))) (if (eq? ? #t) (for-each dont-warn (get-exported-symbols l))) `(,(C 'use) ,? ,l ,l)))) @@ -1301,7 +1300,7 @@ empty list." ;; Make sure to load the module in (let ((? (catch #t (lambda () (Module (reverse l) (reverse xl)) #t) - (lambda x #f)))) + (const #f)))) (if (eq? ? #t) (for-each dont-warn (get-exported-symbols l))) `(,(C 'use) ,? ,l ,l)))) |