rpruim/mosaic — Issue #52: User c() conflicting with built-in c() 
Author: dtkaplan
Created: 2012-03-04 20:35:17+00:00
State: open
Labels: todo

It often happens that students will define a function named "c", e.g.
c = makeFunction( sqrt(a^2 + b^2)~a&b )

This causes things to break down for them when using other functions.

I'm wondering if there is an easy way to make the uses of c() in mosaic functions and the functions called from mosaic refer to the base::c. Could we add base::c to the namespace of the package?

Doing this won't avoid all problems, but it will make mosaic marginally more friendly to novices.