mirror of
https://github.com/janet-lang/janet
synced 2024-12-27 00:40:26 +00:00
Tweak module/add-paths docstring
This commit is contained in:
parent
ff24143f54
commit
1c158bd4ff
@ -2314,11 +2314,11 @@
|
||||
|
||||
(defn module/add-paths
|
||||
```
|
||||
Add paths to module/paths for a given loader such that
|
||||
Add paths to `module/paths` for a given loader such that
|
||||
the generated paths behave like other module types, including
|
||||
relative imports and syspath imports. ext is the file extension
|
||||
to associate with this module type, including the dot. loader is the
|
||||
keyword name of a loader that is module/loaders. Returns the modified module/paths.
|
||||
relative imports and syspath imports. `ext` is the file extension
|
||||
to associate with this module type, including the dot. `loader` is the
|
||||
keyword name of a loader in `module/loaders`. Returns the modified `module/paths`.
|
||||
```
|
||||
[ext loader]
|
||||
(defn- find-prefix
|
||||
|
Loading…
Reference in New Issue
Block a user