Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

  • Understand the feedback about formatting numberWords
  • Review codebase examples to understand formatting style
  • Apply multi-line formatting to numberWords in English.hs
  • Apply multi-line formatting to numberWords in German.hs
  • Verify EditorConfig compliance
  • Build project successfully
  • Run HLint and confirm no issues
  • Reply to feedback comment

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: jvoigtlaender <5853832+jvoigtlaender@users.noreply.github.com>
@jvoigtlaender jvoigtlaender marked this pull request as ready for review February 10, 2026 07:52
Copilot AI review requested due to automatic review settings February 10, 2026 07:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Cd/Od phrasing language modules to match the repository’s preferred multi-line formatting for M.fromList data, improving readability and consistency in the numberWords maps used for phrasing.

Changes:

  • Reformat numberWords in English phrasing to a multi-line M.fromList layout.
  • Reformat numberWords in German phrasing to the same multi-line layout.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/Modelling/CdOd/Phrasing/English.hs Reformats numberWords map definition into a multi-line M.fromList for readability/consistency.
src/Modelling/CdOd/Phrasing/German.hs Applies the same multi-line formatting to the German numberWords map definition.

Comment on lines 37 to +40
numberWords :: Map Int String
numberWords = M.fromList [(2,"two"),(3,"three"),(4,"four"),(5,"five"),(6,"six"),(7,"seven"),(8,"eight"),(9,"nine"),(10,"ten")]
numberWords = M.fromList [
(2, "two"),
(3, "three"),
Copy link

Copilot AI Feb 10, 2026

Choose a reason for hiding this comment

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

PR title is marked "[WIP]" but the description checklist indicates the work is complete. If this is ready, consider removing the WIP marker so it’s clear the PR is intended for merge review.

Copilot uses AI. Check for mistakes.
Copy link
Member

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

@jvoigtlaender jvoigtlaender changed the title [WIP] Address feedback on variable amount of class and object diagrams support Address feedback on variable amount of class and object diagrams support Feb 10, 2026
@jvoigtlaender jvoigtlaender merged commit 1542dd0 into number-words Feb 10, 2026
6 checks passed
@jvoigtlaender jvoigtlaender deleted the copilot/sub-pr-594 branch February 10, 2026 08:06
Copilot AI requested a review from jvoigtlaender February 10, 2026 08:06
Copilot stopped work on behalf of jvoigtlaender due to an error February 10, 2026 08:06
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.

2 participants