New answers tagged


This is sort of what the `Private` context is meant to be doing for you. You write that you just need more contexts that can behave like Private context for organizational purposes, and this can be achieved using subcontexts that use a `Private` mark. My normal instinct would be to put the helper functions to MainFunction inside a `Private` branch of ...


You have to define its ::usage f1[a_, b_, c_] := Module[{}, Print[a];] f1::usage = "f1[a,b,c] prints the first argument"; Note that what you write at the beginning at the message (in this case f1[a, b, c] ) will determine the completion behavior, which is not defined by the function definition. Start a new line inside the string to have multiple ...


No, I don't think it's possible. The reason is that built-in symbols are plagued by the same problem. I would actually consider this a bug. It's confusing and hinders usability. Plus, other operators, such as ->, are not turned into patterns.

Top 50 recent answers are included