source: to-imperative/trunk/samples/Rational/Rational.rfi @ 2303

Last change on this file since 2303 was 2215, checked in by yura, 14 years ago

Rational number library and some to/from string tests.

File size: 204 bytes
Line 
1// vim: set et ts=2 sw=2 :
2
3$func QAdd t t = t;
4$func QSub t t = t;
5$func QMul t t = t;
6$func QDiv t t = t;
7$func QCompare t t = s;
8
9$func QToInt t = s;
10$func QToString s t = e;
11$func? QFromString e = t;
Note: See TracBrowser for help on using the repository browser.