Basically I created a package that will evaluate and display the result of a function called main. In the package, I have put in the message content line “eval main(x=2)” so basically in another file a function titled main will have its output displayed when x=2. The only issue is that the package cannot search other files for the function. In the package itself I can define a function main with
main = (x) -> x+47
Basically, in another file I want for the function called main to be evaluated and its result printed. Each file will have a different function itself but the function will be called main, whether it is x+5090 or x+1. Also, whenever I create a new file (not package) it is called untitled and has no programming language on it. No matter what I put, it is plain text and nothing else in coffescript or js.