Danny (Goldstein) Hellstein

Results 18 comments of Danny (Goldstein) Hellstein

Putting mobiusfn before mobius does not cause issue

I think preventing forward references only inside arglist is a little unintuitive. The use of the anonymous function to lock in certain arguments of a function is not uncommon. But...

Short term: can't make a forward reference in function call Long term: can add this back in as a feature

This segfaults in program_bindobject in vm/vim.c:100 obj it in invalid pointer We should probably catch this as a parse error before this happens as mref. is not valid.

If you want to do this you can do it with Matrix(List(range))/N We might want to consider a constructor of type Matrix(range) (and Array(range)) to avoid the call to list...

VolumeEnclosed should probably throw and error if it encounters a point coincident with the origin that it is measuring volume from

Alternatively we should protect from divide by zero by adding eps to the denominator