<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On Apr 19, 2014, at 10:44 PM, Neil Toronto <<a href="mailto:neil.toronto@gmail.com">neil.toronto@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">That is weird. It works in the nightly build without annotating anything but `sphere3d`, and likely in the next release as well. Keyword arguments haven't been all that well-supported in the past, so I'd try making the arguments to sphere3d positional instead.<br></blockquote></div>Making ctr-posn and r positional arguments solved the problem:<div><div><font face="Courier New">(: sphere3d ((Vectorof Real) Nonnegative-Real [#:color Plot-Color] -> renderer3d))</font></div><div><font face="Courier New">(define (sphere3d ctr.posn r #:color [color "black"])</font></div><div><font face="Courier New"> (let: ([ctr.x : Real (vector-x ctr.posn)]</font></div><div><font face="Courier New"> [ctr.y : Real (vector-y ctr.posn)]</font></div><div><font face="Courier New"> [ctr.z : Real (vector-z ctr.posn)])</font></div><div><font face="Courier New"> (isosurface3d (λ: ([x : Real] [y : Real] [z : Real])</font></div><div><font face="Courier New"> (let: ([posn : (Vectorof Real) (vector x y z)])</font></div><div><font face="Courier New"> (vmag^2 (v- posn ctr.posn))))</font></div><div><font face="Courier New"> (ann (sqr r) Real)</font></div><div><font face="Courier New"> (ann (- ctr.x r) (U Real False)) (ann (+ ctr.x r) (U Real False))</font></div><div><font face="Courier New"> (ann (- ctr.y r) (U Real False)) (ann (+ ctr.y r) (U Real False))</font></div><div><font face="Courier New"> (ann (- ctr.z r) (U Real False)) (ann (+ ctr.z r) (U Real False))</font></div><div><font face="Courier New"> #:line-style 'transparent</font></div><div><font face="Courier New"> #:color color)))</font></div></div><div><br></div><div>So is it that it can handle optional keyword arguments but not mandatory keyword arguments?</div><div><br></div><div><br></div></body></html>