mwleeds / epigram

Automatically exported from code.google.com/p/epigram
0 stars 0 forks source link

Syntax for accesing nested tuples #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Nowadays, if you have an element x : Sig ( A ; B ; C ; D ), you need to
play a very childish game:
 * get A by x !
 * get B by x - !
 * get C by x - - !
 * get D by x - - - !

One could have: 
 * "x -3" for "x - - -"
 * "x !3" for "x - - - !"

I suggested "char *x = String[4];" but that was rejected :-)

Original issue reported on code.google.com by pedag...@gmail.com on 6 Jun 2010 at 12:59