hughperman / pure-lang

Automatically exported from code.google.com/p/pure-lang
0 stars 0 forks source link

unzip problem #93

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This doesn't really work as expected:

  > zip [1,2,3] [a,(),c];
  [(1,a),2,(3,c)]
  > unzip ans;
  <stdin>, line 1: unhandled exception 'bad_tuple_value 2' while evaluating 'unzip ans'

We should do something more clever there, such as filling in missing components 
with () values.

Original issue reported on code.google.com by aggraef@gmail.com on 28 Sep 2012 at 8:34

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 324ba9e41cf2.

Original comment by aggraef@gmail.com on 13 Nov 2012 at 4:41