In codeworld-base, deprecate exp, replace with e
- Dominant language
- Haskell
- Stars
- 1.3k
- Forks
- 201
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure if I want to do this or not... but it occurs to me that "exp" as a function is an artifact of the computer programming world, and that mathematicians are quite happy to just write e^x. So let's do that.
Disadvantage: it steals a one-letter name. However, no one ought to be defining one-letter top-level names anyway, and using `e` as a local variable name would still be possible (and give a warning).
No middle school student is ever likely to use either one, so this isn't a big deal. Just trying to be more faithful to the mathematics world.
Contributor guide
Research direction
The issue concerns the codeworld-base names exp and e, but it does not identify files, tests, or an entry point. First locate where these names are defined and referenced, then determine the compatibility and warning behavior required; done means the intended replacement and deprecation behavior are implemented consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100