SBCL 0.9.9.37 on mingw
* (time (expt 10 100))
debugger invoked on a TYPE-ERROR: The value NIL is not of type NUMBER.
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.
#<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X0022F3A4 :TYPE (*
It only at me?
WBR, Yaroslav Kavenchuk.
Yaroslav Kavenchuk writes:
> SBCL 0.9.9.37 on mingw
> * (time (expt 10 100))
> debugger invoked on a TYPE-ERROR: The value NIL is not of type NUMBER.
> It only at me?
Nope, known issue in SBCL/Win32. From my TODO list (which I've been mostly
14.) [moderate] The TIME macro causes a type error by receiving
a NIL value where it expected some sort of number. Looking
at the source, the NIL value is coming from the function
sb-sys:get-system-info, which is in win32-os.lisp. This
function normally uses sb-unix:unix-fast-getrusage, but is
stubbed out because unix-fast-getrusage is unimplemented.
Other parts of the machinery behind TIME also use
sb-unix:unix-fast-getrusage, so that's probably the right
place for a fix.
> WBR, Yaroslav Kavenchuk.