1 ! Copyright (C) 2008 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: accessors math math.parser calendar calendar.format
4 strings words kernel effects ;
7 GENERIC: present ( object -- string )
9 M: real present number>string ;
11 M: timestamp present timestamp>string ;
15 M: word present name>> ;
17 M: effect present effect>string ;
19 M: f present drop "" ;