In codeworld-base, deprecate exp, replace with e
Offen
discussion
- Vorherrschende Sprache
- Haskell
- Sterne
- 1.3k
- Forks
- 201
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.