diff options
| author | 2026-02-05 20:01:00 -0600 | |
|---|---|---|
| committer | 2026-02-05 20:01:00 -0600 | |
| commit | 196f27af3d8026ad803966449b8c8ef92047e0b3 (patch) | |
| tree | 007e124d5e18f0340ff767286a58dbd10297bb29 | |
| parent | Allow simpler loading of modules. (diff) | |
Update CHANGELOG.mdmake-modules-easier
| -rw-r--r-- | CHANGELOG.md | 3 | ||||
| -rw-r--r-- | src/boot/boot.janet | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0654de7c..4007ba3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ All notable changes to this project will be documented in this file. ## Unreleased - ??? +- Allow overriding the loader when doing imports with the `:loader` argument. +- Allow importing modules with a path extension to do what one would expect. +- Add `find-all` argument to `module/find` - Add :threads, :unmarshal, :compiler, and :asm sandbox flags. - Add support for persistent REPL history with the environment variable `JANET_HISTFILE` - Fix a number of fuzzer-found compiler bugs diff --git a/src/boot/boot.janet b/src/boot/boot.janet index 5f7afcff..1923eb46 100644 --- a/src/boot/boot.janet +++ b/src/boot/boot.janet @@ -2182,10 +2182,10 @@ (def last (in t (- (length t) 1))) (def bound (in t 1)) (keep-syntax! t - (array/concat - @[(in t 0) (expand-bindings bound)] - (tuple/slice t 2 -2) - @[(recur last)]))) + (array/concat + @[(in t 0) (expand-bindings bound)] + (tuple/slice t 2 -2) + @[(recur last)]))) (defn expandall [t] (def args (map recur (tuple/slice t 1))) |
