You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My current workaround is to just use a foldl for now to avoid mangling Real and Float conversions in my actual program. Just making sure I'm not missing an obvious approach.
The text was updated successfully, but these errors were encountered:
What version of Racket are you using?
v8.12 [cs]
What program did you run?
mve
What should have happened?
same output as the following program
which returns
5.5
.If you got an error message, please include it here.
the backtrace, if it's useful :)
from what I can tell, the literal zero in the definition seems to be the issue. The comment a little before seems to acknowledge this as intentional.
typed-racket/typed-racket-lib/typed-racket/base-env/prims.rkt
Lines 523 to 528 in 26534e7
typed-racket/typed-racket-lib/typed-racket/base-env/prims.rkt
Line 553 in 26534e7
My current workaround is to just use a
foldl
for now to avoid manglingReal
andFloat
conversions in my actual program. Just making sure I'm not missing an obvious approach.The text was updated successfully, but these errors were encountered: