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