summaryrefslogtreecommitdiff
path: root/tests/bindpat.ur
blob: bca4bd41ced2ba3b259575f91792d1a0917b980c (plain)
1
2
3
4
5
6
fun main () : transaction page =
  (a, b) <- return (1, 2);
  {C = c, ...} <- return {C = "hi", D = False};
  d <- return 2.34;
  {1 = e, 2 = f} <- return (8, 9);
  return <xml>{[a]}, {[b]}, {[c]}, {[d]}, {[e]}, {[f]}</xml>