4 ms·
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'
by limmeau 16y ago
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?
- silentbicycle 16y agoBox/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. Box: http://www.jsoftware.com/help/dictionary/d010.htm http://www.jsoftware.com/help/dictionary/d010.htm Open: http://www.jsoftware.com/help/dictionary/d020.htm http://www.jsoftware.com/help/dictionary/d020.htm