Danny (Goldstein) Hellstein
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...
We should check back in on this
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.
Assignment in fn call
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
I'll take this on in my upcoming round of fixes