Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/vis15/src/tests/new-tests/coerce-test.diderot
ViewVC logotype

View of /branches/vis15/src/tests/new-tests/coerce-test.diderot

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3588 - (download) (annotate)
Thu Jan 14 15:25:22 2016 UTC (5 years, 10 months ago) by jhr
File size: 241 byte(s)
adding tests to merge branch
// test various coercion situations
//

real[4] xs = {1, 1.5, 2, 2.4};
real[] ys = {1.2, 2, 4};

strand S (real x') {
  output real x = x';
  int i = 1;

  update {
    x = (x if true else i);
  }
}

collection { S(x+y) | x in xs, y in ys }

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0