Mathematica pseudo-types Integer, Real, Rational, Complex String and Symbol and their use.
52
votes
7answers
4k views
Struct equivalent in Mathematica?
I really miss having something like a struct in Mathematica. I know of (and regularly use) a couple of programming techniques which feel like a ...
14
votes
4answers
522 views
How to create strong types?
In a program I'm writing, I create a list of lists, that looks something like this:
{{100, {1,2,3,4,5}},
{105, {2,4,6,8}},
{42, {42,39,56}}}
I then pass this ...