racket / racket/drracket

[Feature Request] fraction display preferences in DrRacket

Open
#802 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Racket
Stars
516
Forks
103
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
I am frustrated when I want ratios to output as improper fractions however they only output as mixed fractions.

Describe the solution you'd like
I would like to go to the menu "Language" and choose the menu item "Choose Language ...".
Then I would like to Click the button "Show Details".
Then I would like the option to choose from the following options:
"Mixed fractions";
"Repeating decimals"; OR
"Improper fractions".

Describe alternatives you've considered
Currently I use right click on the output in the REPL and select "View as improper fraction". However, this option resets every time code is rerun. Therefore, I need to right click on the output each time to view the output as an improper fraction.

Do you want to contribute to this feature
I would love to help. However, I am only a beginner in coding and Racket. I am happy to help with testing and/or documentation though.

[Optional] Additional context
Please see screen shot for where the additional display option could be placed:

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Language > Choose Language ... > Show Details entry point described in the issue, and trace how the existing "View as improper fraction" output option is handled. Done means a user can select Mixed fractions, Repeating decimals, or Improper fractions there and the choice remains effective after rerunning code.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.