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