1 ! Copyright (C) 2008, 2009 Slava Pestov.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: accessors math math.parser strings words vocabs
7 GENERIC: present ( object -- string )
9 M: real present number>string ;
13 M: word present name>> ;
15 M: vocab-spec present name>> ;
17 M: effect present effect>string ;
19 M: f present drop "" ;