annotate tests/tcrec.ur @ 1813:4c61bb7acb9b

Minor js optimizations. * flatten() now uses accumulator and join. * reuse regexps instead of allocating new each time
author Vladimir Shabanov <vshabanoff@gmail.com>
date Thu, 30 Aug 2012 17:58:37 +0400
parents 287604b4a08d
children
rev   line source
adam@1575 1 type r1 = {A : string, B : string}
adam@1575 2 type r2 = {B : string, A : string}
adam@1575 3
adam@1575 4 val show_r1 : show r1 = mkShow (fn r => r.A ^ "+" ^ r.B)
adam@1575 5 val show_r2 : show r2 = _