option Prefix for needsPackage and friends instead of FileName
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
I wave my fist at the sky every time I have to laboriously type
```m2
needsPackage("PkgName", FileName => ".../PkgName.m2")
```
I mean, the whole `/PkgName.m2` part is unnecessary (not to mention File**N**ame ...)
Solution: add option `Prefix` that accepts a directory and deprecate `FileName` (i.e. still accept it but maybe don't mention it in the documentation).
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names needsPackage and related functions but no files or tests; start by locating their implementation and tracing how FileName is parsed and resolved. Done means Prefix accepts a directory, existing FileName usage remains accepted but deprecated, and the resulting package lookup behavior is verified.
Written by the indexing model from the issue text.
Assessment
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100