Skip to content

Commit

Permalink
molly: fix crosslinks in ldoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Nov 7, 2024
1 parent a417221 commit 1e7d7c7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Executing `close` method in a `Client` instance (#2).
- list-append generator (#3).
- Passing a client object to a client's methods (#9).
- Links in rendered LDoc documentation for a module `molly.gen`.

[Unreleased]: https://github.com/ligurio/molly/compare/0.1.0...HEAD

Expand Down
20 changes: 10 additions & 10 deletions molly/gen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,11 @@ local span = fun.span
methods.span = span
exports.span = span
--- An alias for span().
-- See `fun.span`.
-- See `gen.span`.
-- @function split

--- An alias for span().
-- See `fun.span`.
-- See `gen.span`.
-- @function split_at

--- Indexing
Expand All @@ -226,26 +226,26 @@ exports.span = span
-- See [fun.index](https://luafun.github.io/indexing.html#fun.index).

--- An alias for index().
-- See `fun.index`.
-- See `gen.index`.
-- @function index_of

--- An alias for index().
-- See `fun.index`.
-- See `gen.index`.
-- @function elem_index

--- @function indexes
-- See [fun.indexes](https://luafun.github.io/indexing.html#fun.indexes).

--- An alias for indexes().
-- See `fun.indexes`.
-- See `gen.indexes`.
-- @function indices

--- An alias for indexes().
-- See `fun.indexes`.
-- See `gen.indexes`.
-- @function elem_indexes

--- An alias for indexes().
-- See `fun.indexes`.
-- See `gen.indexes`.
-- @function elem_indices

--- Filtering
Expand All @@ -261,7 +261,7 @@ exports.span = span

--- If `regexp_or_predicate` is string then the parameter is used as a regular
-- expression to build filtering predicate. Otherwise the function is just an
-- alias for gen.filter().
-- alias for `gen.filter`.
-- @function grep
-- See [fun.grep](https://luafun.github.io/filtering.html#fun.grep).

Expand Down Expand Up @@ -307,14 +307,14 @@ exports.span = span
-- See [fun.all](https://luafun.github.io/reducing.html#fun.all).

--- An alias for all().
-- See `fun.all`.
-- See `gen.all`.
-- @function every

--- @function any
-- See [fun.any](https://luafun.github.io/reducing.html#fun.any).

--- An alias for any().
-- See `fun.any`.
-- See `gen.any`.
-- @function some

--- Transformations
Expand Down

0 comments on commit 1e7d7c7

Please sign in to comment.