13 ; concat
["(", i2s r
, ", ", i2s c
, ", ", i2s(!x
), ")"]))
14 val _
= app
trv (fn s
=> (print s
; print
"\n")) a
18 val _
= (test RowMajor
; test ColMajor
)
20 (* Check that Size is correctly raised when constructing large arrays
. *)
21 val m
= valOf
Int.maxInt
26 handle Size
=> print
"OK"
29 (tabulate
RowMajor (m
, 2, fn _
=> 13)
31 handle Size
=> print
"OK\n"