Joe Politz
Joe Politz
There's already an issue where we report 2 different errors for one line with 3 expressions. (In general for `e1 e2 e3... en` we report $$n-1$$ errors). It would be...
`Infinity` is handled correctly – a good `isOverflow` check is in place for the fixnum case of `expt`. The problem is much harder for me to understand or even narrow...
Also a remark on the related log example at the 64-bit float boundary – this is very likely to be a separate issue. It may be related, but representationally `num-expt(10,...
Useful other context:
I tried this: ``` > git diff diff --git a/src/js/base/js-numbers.js b/src/js/base/js-numbers.js index bd0fe9523..eefd608f5 100644 --- a/src/js/base/js-numbers.js +++ b/src/js/base/js-numbers.js @@ -3815,7 +3817,13 @@ define("pyret-base/js/js-numbers", function() { // expt: pyretnum -> pyretnum...
Can you `git status`, `pwd`, `ls`, etc? This file is definitely present in git: https://github.com/brownplt/pyret-lang/blob/horizon/package.json
`a = 4` is a statement, not an expression. Needs to be two expressions that evaluate to a value, like ``` fun(x): x + 1 x + 2 end ```...
Oh good idea. I'll look into this, thank you! I didn't know about this and wondered about the broader ecosystem.
Makes me a bit nervous that we have to make sure we account for every client of js-numbers here, because it is no longer exporting a bunch of functions it...
Properties this has: - If someone was forgetting errbacks arguments, oh well, they still are - If someone calls over and over again with an errbacks argument, they pay a...