Import Upstream version 20180207
[hcoop/debian/mlton.git] / regression / flat-vector.sml
CommitLineData
7f918cf1
CE
1val v = Vector.tabulate (10,
2 (fn x =>
3 let
4 fun toChar x = Char.chr (Char.ord #"0" + x)
5 in
6 (toChar 0, toChar x)
7 end))
8val x = Vector.sub (v, 8)
9val _ = print "should be 08\n"
10val _ = print (str (#1 x) ^ str (#2 x) ^ "\n")