Skip to content

Conversation

wojpok
Copy link

@wojpok wojpok commented May 24, 2025

No description provided.

closing marker of a multiline comment can appear either on a separate line or
immediately after the final line of the docstring body.

During the process of generting doc pages, all docstring are concatenated
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
During the process of generting doc pages, all docstring are concatenated
During the process of generating doc pages, all docstring are concatenated

@param f Folding function. Receives an additional index argument.
@param xs List to be folded.

@returns The result of iterativately applied folding operation.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
@returns The result of iterativately applied folding operation.
@returns The result of the iteratively applied folding operation.

Copy link

@KR338 KR338 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Further spell check/proofread


During the process of generting doc pages, all docstring are concatenated
to a single, continuous markdown file. Even though it is possible, we advise
against splitting markdown constructs like tables across multiple docstring.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
against splitting markdown constructs like tables across multiple docstring.
against splitting markdown constructs like tables across multiple docstrings.

If applied to empty list, it calls implicit function `~onError`.
It also allows overriding the starting value of the iterator index `i`.

Even though, the type is quite ellaborate, documentation is straightforward.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Even though, the type is quite ellaborate, documentation is straightforward.
Even though, the type is quite elaborate, documentation is straightforward.

### Int64

`Int64` is a builtin type, which means that the there is no declaration
of this type in Prelude. Fortunatelly, scoping allows us to add docstring
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
of this type in Prelude. Fortunatelly, scoping allows us to add docstring
of this type in Prelude. Fortunately, scoping allows us to add docstring

## # Main header

{##
This is an example docstring with markdown table:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
This is an example docstring with markdown table:
This is an example docstring with a markdown table:

be written separately and explicitly linked to the intended code element using
an identifier.

In such cases, docstrings are mandatorily multiline and apropriete identifiers
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In such cases, docstrings are mandatorily multiline and apropriete identifiers
In such cases, docstrings are mandatorily multiline and apropriate identifiers

Copy link

@Brychlikov Brychlikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some grammar mistakes.

to that definition. The first continuous block of text is treated as a brief
description. After an empty line, a more detailed explanation may be added.

Additionally `@param`, `@asserts` and `@return` labels are supported in

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Additionally `@param`, `@asserts` and `@return` labels are supported in
Additionally, `@param`, `@asserts`, and `@return` labels are supported in

We use Oxford commas everywhere in dbl comments, so let's keep things consistent


## Guidelines

To ensure good and consistent quality, follow specified these guidelines:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To ensure good and consistent quality, follow specified these guidelines:
To ensure good and consistent quality, follow these guidelines:

- Sentences should be written in Present Simple tense,
although sometimes it is necessary to deviate from that.
- End every sentence with a period.
- Avoid using function name as noun and verb in the same sentence.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Avoid using function name as noun and verb in the same sentence.
- Avoid using the function name as a noun and a verb in the same sentence.

although sometimes it is necessary to deviate from that.
- End every sentence with a period.
- Avoid using function name as noun and verb in the same sentence.
Specifically don't write descriptions like "`map` maps ..." and

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Specifically don't write descriptions like "`map` maps ..." and
Specifically, don't write descriptions like "`map` maps ..." and

If applied to empty list, it calls implicit function `~onError`.
It also allows overriding the starting value of the iterator index `i`.

Even though, the type is quite ellaborate, documentation is straightforward.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Even though, the type is quite ellaborate, documentation is straightforward.
Even though the type is quite elaborate, documentation is straightforward.

Comment on lines +145 to +149
Folds list into a single value, using the last element of list as the initial
accumulator and passing index of each processed element.

Allows overriding initial value of iterator. When applied
to empty list, calls implicit `~onError` function.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Folds list into a single value, using the last element of list as the initial
accumulator and passing index of each processed element.
Allows overriding initial value of iterator. When applied
to empty list, calls implicit `~onError` function.
Folds the list into a single value, using the last element of list as the initial
accumulator and passing index of each processed element.
Allows overriding the initial value of the iterator. When applied
to an empty list, calls implicit `~onError` function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants