Macaulay2 / Macaulay2/M2

Remove long and unsigned long from the D language

Open
#1,733 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Interpreter
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

> Ah, so maybe let's just remove `long` and `unsigned long` to avoid any other confusion.

Sounds like a good idea -- but probably for another pull request. There's likely some false positives, but it looks nontrivial:

```
profzoom@peg-amy:~/src/macaulay2/M2/M2/Macaulay2/d$ grep long * | wc -l
286
```

_Originally posted by @d-torrance in https://github.com/Macaulay2/M2/issues/1730#issuecomment-750431832_

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 in the M2/M2/Macaulay2/d directory and review the 286 `long` matches reported by the issue's grep command. Separate genuine `long` and `unsigned long` uses from false positives before determining the full scope. Done means the intended D-language types are removed without changing unrelated matches.

Written by the indexing model from the issue text.

Assessment

Domain
compilers
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.