Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 5478

Mathematica symbols are the ultimate atoms of symbolic data. Every symbol has a unique name, exists in a certain Mathematica context or namespace, and can have a variety of types of values and attributes.

7 votes
2 answers
369 views

Not FullDefinition for Save. MachineID not Protected?

Is there a way to set what symbols's definitions I do not want to store? Consider the following code: f := $MachineID; SetDirectory[NotebookDirectory[]]; Save["testm.m", f]; ClearAll@f << "testm.m …
Kuba's user avatar
  • 138k
10 votes
2 answers
410 views

Naming convention for symbols exported from package

Q: So lowerCaseFunctionName or UpperCaseFunctionName convention for symbols exported from package for users. And why? … I'm still using lowerCaseCamelCase because I don't have to worry in future and push fixes which only rename conflicted symbols. …
Kuba's user avatar
  • 138k
6 votes
1 answer
143 views

Unique[] and special handling of symbols ending with a single dollar sign

Example Unique[x] generates a new symbol, with a name of the form x$nnn. If so then this is not correct: Unique[x$] x$4639 I'd expect double $: x$$4639. Question: Is this a bug in …
Kuba's user avatar
  • 138k
9 votes
1 answer
129 views

Dealing with over eager shadowing messages

BeginPackage["First`"]; symbol; EndPackage[]; BeginPackage["Second`"]; (*This block could be replaced with Needs @ "Internal`" in real life*) BeginPackage["Internal`"]; symbol; …
Kuba's user avatar
  • 138k