Closed schanzer closed 2 months ago
oooooh! I am SO in favor of this! YAY!
@schanzer I took a look. Couldn't think of anything else off the top of my head, so I looked at the DS contracts pages. Perhaps we want to include:
num-max
num-min
Wondering whether a look at Dorai's sexp code base might have a complete list of other functions we've identified as not being intuitive translations, but not sure where to find it...
From doing a find in files for *num-
num-abs
num-pi
num-random
Also: num-expt ?
Noting that this was completed some time ago!
It's annoying that in WeScheme we can just type
sqrt
, but in Pyret we have to typenum-sqrt
. I spoke to Joe at length about this, and he agreed to export aliases for these functions in a newessentials2023
context. That meansnum-sqrt
will continue to work, butsqrt
will work as well!I created a tracking issue for it, but I need input from both @retabak and @flannery-denny to make sure it's complete.
(I will make any necessary changes to WeScheme as well)