Re:J Source to be released under GPL
by limmeau on Wednesday March 02, 2011 @03:15AM
(#2278849)
I glanced over the J for C table of contents to find out where J keeps anything like product and sum types, but I found no promising headlines. Is that just J's way of saying "if it's not a matrix, don't use J", or am I missing something fundamental here?
[ Parent
| on HN ]
Re:J Source to be released under GPL
by silentbicycle on Wednesday March 02, 2011 @08:09AM
(#2279399)
Box/open are the primitives you want. Box wraps other values (possibly with different types or sizes) in one array, kind of like a C struct. Open extracts sub-elements.