Thanks, Richard. This makes perfect sense now.
Based on this discussion, and using the 'keep it simple for now' principle, I think I will go with your first suggestion (i.e. only accepting a specific array type). I'll understand better once real students start using it!
Based on this discussion, and using the 'keep it simple for now' principle, I think I will go with your first suggestion (i.e. only accepting a specific array type). I'll understand better once real students start using it!