Mercurial > urweb
view tests/tcrec.ur @ 2069:262dd74df39c
Replace common "if(!quiet) printf(...)" pattern with a macro
author | Sergey Mironov <grrwlf@gmail.com> |
---|---|
date | Tue, 02 Sep 2014 17:36:14 +0000 |
parents | 287604b4a08d |
children |
line wrap: on
line source
type r1 = {A : string, B : string} type r2 = {B : string, A : string} val show_r1 : show r1 = mkShow (fn r => r.A ^ "+" ^ r.B) val show_r2 : show r2 = _