factor/extra/present/present.factor

18 lines
314 B
Factor
Raw Normal View History

USING: math math.parser calendar calendar.format strings words
kernel effects ;
IN: present
GENERIC: present ( object -- string )
M: real present number>string ;
M: timestamp present timestamp>string ;
M: string present ;
M: word present word-name ;
2008-06-08 17:47:20 -04:00
M: effect present effect>string ;
M: f present drop "" ;