Skip to content

copilot-core: Clarify documentation of Copilot.Core.Type.Struct. Refs #795. - #796

Merged
ivanperez-keera merged 2 commits into
Copilot-Language:masterfrom
ivanperez-keera:develop-copilot-core-typo
Nov 15, 2026
Merged

ivanperez-keera merged 2 commits into
Copilot-Language:masterfrom
ivanperez-keera:develop-copilot-core-typo

Conversation

@ivanperez-keera

Copy link
Copy Markdown
Member

Update the documentation of copilot-core:Copilot.Core.Type.Struct to more clearly explain what that class captures, as prescribed in the solution proposed for #795.

Copilot-Language#795.

The Haddock comment for `copilot-core:Copilot.Core.Type.Struct` is
phrased in a way that is difficult to understand. The comment reads:

```haskell
-- | The value of that is a product or struct, defined as a constructor with
-- several fields.
 class Struct a where
```

However, it is not clear what "that" means in this context, so the
comment is unintelligible.

This commit updates the documentation of
`copilot-core:Copilot.Core.Type.Struct` to more clearly explain what
that class captures.
@ivanperez-keera

ivanperez-keera commented Nov 15, 2026 •

Copy link
Copy Markdown
Member Author

Change Manager: Verified that:

  • Solution is implemented:
  • Implementation is documented. Details:
    Cheange is to the documentation.
  • Change history is clear.
  • Commit messages are clear.
  • Changelogs are updated.
  • Examples are updated. Details:
    No updates needed; change does not affect existing examples.
  • Author is internal or has provided signed CLA.
  • Required version bumps are evaluated. Details:
    Bump not needed; change is do the documentation and does not affect the public API.

@ivanperez-keera
ivanperez-keera merged commit ee1ff19 into Copilot-Language:master Nov 15, 2026
12 checks passed
@ivanperez-keera
ivanperez-keera deleted the develop-copilot-core-typo branch November 15, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant